Gamipress_Tokens::plugin_active( $status,  $code )

Check if GP is active or not.

Contents


Return Return

(Uncanny_Automator$status) True if GP is active. Otherwise, false.


Source Source

File: src/integrations/gamipress/tokens/gamipress-tokens.php

	public function plugin_active( $status, $code ) {

		if ( class_exists( '\GamiPress' ) ) {
			$status = true;
		} else {
			$status = false;
		}

		return $status;
	}