Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
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;
	}