Twitter_Helpers::is_from_modal_action()

Checks if screen is from the modal action popup or not.

Contents


Return Return

(Uncanny_Automatorboolean.)


Source Source

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

	public function is_from_modal_action() {

		$minimal = filter_input( INPUT_GET, 'minimal', FILTER_DEFAULT );

		$hide_settings_tabs = filter_input( INPUT_GET, 'hide_settings_tabs', FILTER_DEFAULT );

		return ! empty( $minimal ) && ! empty( $hide_settings_tabs ) && ! empty( $hide_settings_tabs );
	}