astra_addon_echo_php_snippet( int $post_id )

Echo PHP snippet if enabled.


Description


Parameters

$post_id

(int) (Required) Post Id.


Source

File: classes/astra-addon-extended-functionality.php

function astra_addon_echo_php_snippet( $post_id ) {
	$php_snippet = astra_addon_get_php_snippet( $post_id );
	echo $php_snippet; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}

Changelog

Changelog
Version Description
4.1.1 Introduced.


User Contributed Notes

You must log in before being able to contribute a note or feedback.