Badgeos_Tokens::plugin_active( $status,  $code )

Check if BO is active or not.

Contents


Return Return

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


Source Source

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

	public function plugin_active( $status, $code ) {
		if ( class_exists( '\BadgeOS' ) ) {
			$status = true;
		} else {
			$status = false;
		}
		return $status;
	}