Instagram_Settings::output()

Creates the output of the settings page


Return Return

(Uncanny_Automatorvoid.)


Source Source

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

	public function output() {

		$fb_helper = null;

		if ( isset( Automator()->helpers->recipe->facebook->options ) ) {

			$fb_helper = Automator()->helpers->recipe->facebook->options;

		}

		$is_user_connected = $this->get_helper()->is_user_connected();

		$facebook_pages_settings_uri = $this->get_helper()->get_facebook_pages_settings_url();

		$facebook_pages_oauth_dialog_uri = $this->get_helper()->get_facebook_pages_oauth_dialog_uri();

		if ( $fb_helper ) {

			$facebook_user = (object) $fb_helper->get_user_connected();

			$disconnect_uri = $fb_helper->get_disconnect_url();

		}

		include_once 'view-instagram.php';

	}