Astra_Ext_Advanced_Hooks_Markup::is_vc_activated( int $post_id )

Check VC activated or not on post.


Description


Parameters

$post_id

(int) (Required) Post Id.


Return

(boolean)


Source

File: addons/advanced-hooks/classes/class-astra-ext-advanced-hooks-markup.php

			if ( $php_snippet ) {
				echo $php_snippet; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped

			} else {

				if ( class_exists( 'Astra_Addon_Page_Builder_Compatibility' ) ) {

					$page_builder_base_instance = Astra_Addon_Page_Builder_Compatibility::get_instance();

					$page_builder_instance = $page_builder_base_instance->get_active_page_builder( $post_id );


User Contributed Notes

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