Google_Sheet_Helpers::get_google_client()

Get Google Client object


Return Return

(false|object)


Source Source

File: src/integrations/google-sheet/helpers/google-sheet-helpers.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;
	}