Twitter_Helpers::display_settings_tab()

Check if the settings tab should display.


Return Return

(Uncanny_Automatorboolean.)


Source Source

File: src/integrations/twitter/helpers/twitter-helpers.php

	public function display_settings_tab() {

		if ( Automator()->utilities->has_valid_license() ) {
			return true;
		}

		if ( Automator()->utilities->is_from_modal_action() ) {
			return true;
		}

		return ! empty( $this->get_client() );
	}