Cf_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/caldera-forms/tokens/cf-tokens.php

	public function plugin_active( $status, $code ) {
		if ( self::$integration === $code ) {
			if ( class_exists( 'Caldera_Forms' ) ) {
				$status = true;
			} else {
				$status = false;
			}
		}
		return $status;
	}