Instagram_Settings::__construct( $helper )

Creates the settings page


Source Source

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

	public function __construct( $helper ) {

		$this->helper = $helper;

		// Register the tab
		$this->setup_settings();

		// The methods above load even if the tab is not selected
		if ( ! $this->is_current_page_settings() ) {
			return;
		}

		// Add localization strings
		$this->add_localization_strings();
	}