Add_Google_Sheet_Integration::get_google_client()

Get Google Client object


Return Return

(false|array)


Source Source

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

	public function get_google_client() {
		$access_token = get_option( '_uncannyowl_google_sheet_settings', array() );
		if ( empty( $access_token ) || ! isset( $access_token['access_token'] ) ) {
			return false;
		}
		return $access_token;
	}