Add_Wf_Integration::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-fusion/add-wf-integration.php

	public function plugin_active( $status, $code ) {

		if ( self::$integration === $code ) {
			if ( class_exists( 'WP_Fusion_Lite' ) || class_exists( 'WP_Fusion' ) ) {
				$status = true;
			}
		}

		return $status;
	}