Astra_Ext_Advanced_Hooks_Markup::is_tve_activated( int $id )

Check if Thrive Architect is enabled for the post.


Description


Parameters

$id

(int) (Required) Post ID of the post which is to be tested for the Thrive Architect.


Return

(boolean) Returns true if the post is created using Thrive Architect, False if not.


Source

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

			return $classes;
		}


		/**
		 * Check if post eligible to show on time duration
		 *
		 *  @param int $post_id post id.
		 */
		public static function get_time_duration_eligibility( $post_id ) {

			$time_duration = get_post_meta( $post_id, 'ast-advanced-time-duration', 'true' );

Changelog

Changelog
Version Description
1.1.0 Introduced.

User Contributed Notes

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