Zoom_Webinar_Settings::output()

Creates the output of the settings page

Contents


Return Return

(Uncanny_Automatorvoid.)


Source Source

File: src/integrations/zoom-webinar/settings/settings-zoom-webinar.php

	public function output() {

		try {
			$this->user = $this->helpers->api_get_user_info();

			// Handle legacy transient
			if ( is_object( $this->user ) ) {
				$this->user = (array) $this->user;
			}
			
		} catch ( \Exception $e ) {
			update_option( 'uap_automator_zoom_webinar_api_settings_expired', true );
			$this->user = array();
			$this->is_connected = false;
		}

        $disconnect_url = $this->helpers->disconnect_url();

		include_once 'view-zoom-webinar.php';

	}