Add_Wc_Memberships_Integration::plugin_active()

Contents


Return Return

(bool)


Source Source

File: src/integrations/wc-memberships/add-wc-memberships-integration.php

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

		return $status;
	}