Add_Wpp_Integration::plugin_active()

Contents


Return Return

(bool)


Source Source

File: src/integrations/wp-polls/add-wpp-integration.php

	public function plugin_active( $status, $plugin ) {


		if ( self::$integration === $plugin ) {
			if ( defined( 'WP_POLLS_VERSION' ) ) {
				// Needs automator free with version 2.10 or greater
				//$automator_version = \Uncanny_Automator_Pro\InitializePlugin::PLUGIN_VERSION;

				//if ( version_compare( $automator_version, '2.10', '>=' ) ) {
				$status = true;
				//}
			} else {
				$status = false;
			}
		}

		return $status;
	}