Add_Wpwh_Integration::plugin_active()

Contents


Return Return

(bool)


Source Source

File: src/integrations/wp-webhooks/add-wpwh-integration.php

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

		return $status;
	}