Wp_Post_Tokens::plugin_active( $status,  $code )

Only load this integration and its triggers and actions if the related plugin is active


Parameters Parameters

$status

(Required)

$code

(Required)


Top ↑

Return Return

(bool)


Source Source

File: src/integrations/wp/tokens/wp-post-tokens.php

	public function plugin_active( $status, $code ) {

		if ( self::$integration === $code ) {

			$status = true;
		}

		return $status;
	}