Add_Active_Campaign_Integration::is_connected()


Return Return

(bool)


Source Source

File: src/integrations/active-campaign/add-active-campaign-integration.php

	public function is_connected() {

		$api_url = get_option( 'uap_active_campaign_api_url', '' );
		$api_key = get_option( 'uap_active_campaign_api_key', '' );
		$user    = get_option( 'ua_active_campaign_connected_user', '' );

		return ! empty( $user ) && ! empty( $api_url ) && ! empty( $api_key );

	}