GoToWebinar_Settings::output()

Creates the output of the settings page


Return Return

(Uncanny_Automatorvoid.)


Source Source

File: src/integrations/gotowebinar/settings/gotowebinar-settings.php

	public function output() {

		$key = trim( get_option( 'uap_automator_gtw_api_consumer_key', '' ) );

		$secret = trim( get_option( 'uap_automator_gtw_api_consumer_secret', '' ) );

		$tab_url = admin_url( 'edit.php' ) . '?post_type=uo-recipe&page=uncanny-automator-config&tab=premium-integrations&integration=go-to-webinar';

		$disconnect_url = $this->get_helper()->get_disconnect_url();

		$connection = automator_filter_input( 'connect' );

		$user = get_option( '_uncannyowl_gtw_settings', false );

		$is_connected = false !== $user;

		$user_first_name = isset( $user['firstName'] ) ? $user['firstName'] : '';

		$user_last_name = isset( $user['lastName'] ) ? $user['lastName'] : '';

		$user_display_name = implode( ' ', array( $user_first_name, $user_last_name ) );

		$user_email_address = isset( $user['email'] ) ? $user['email'] : '';

		include_once 'view-gotowebinar.php';

	}