Facebook_Helpers::has_connection_data()

Check if the 3rd-party integration has any connection api stored.


Return Return

(Uncanny_Automatorboolean.)


Source Source

File: src/integrations/facebook/helpers/facebook-helpers.php

	public function has_connection_data() {

		$facebook_options_user  = get_option( '_uncannyowl_facebook_settings', array() );
		$facebook_options_pages = get_option( '_uncannyowl_facebook_pages_settings', array() );

		if ( ! empty( $facebook_options_user ) && ! empty( $facebook_options_pages ) ) {
			return true;
		}

		return false;
	}