Zoom_Helpers::get_user()

get_user

Contents


Return Return

(void)


Source Source

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

	public function get_user() {
		$users_option_exist = get_option( 'uap_zoom_api_connected_user', 'no' );
		if ( 'no' !== $users_option_exist ) {
			return $users_option_exist;
		}
		try {
			$user = $this->api_get_user_info(); 
		} catch ( \Exception $e ) {
			$user = false;
		}
		return $user;
	}