Twilio_Settings::output()

Creates the output of the settings page

Contents


Return Return

(Uncanny_Automatorvoid.)


Source Source

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

	public function output() {

		$account_sid = ! empty( $this->client['account_sid'] ) ? $this->client['account_sid'] : '';
		$auth_token = ! empty( $this->client['auth_token'] ) ? $this->client['auth_token'] : '';
        $phone_number = get_option( 'uap_automator_twilio_api_phone_number', '' );

        $disconnect_uri = add_query_arg(
            array(
                'action' => 'automator_twilio_disconnect',
                'nonce'  => wp_create_nonce( 'automator_twilio_disconnect' ),
            ),
            admin_url( 'admin-ajax.php' )
        );

		include_once 'view-twilio.php';
	}