Add_Upsell_Plugin_Integration::plugin_active()

Contents


Return Return

(bool)


Source Source

File: src/integrations/upsell-plugin/add-upsell-plugin-integration.php

	public function plugin_active( $status, $plugin ) {
		if ( self::$integration === $plugin ) {
			if ( class_exists( '\Upsell\Plugin' ) ) {
				$status = true;
			} else {
				$status = false;
			}
		}

		return $status;
	}