Add_Google_Sheet_Integration::is_automator_pro_active()

Check if automator pro is active or not.

Contents


Return Return

(boolean) True if automator pro is active. Otherwise false.


Source Source

File: src/integrations/google-sheet/add-google-sheet-integration.php

	public function is_automator_pro_active() {
		$is_active = false;
		// Check if automator pro is in list of active plugins.
		if ( in_array( 'uncanny-automator-pro/uncanny-automator-pro.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) {
			return true;
		}
		return $is_active;
	}