Hooks::filter_views_v2_hide_location_search_on_event_manager_page( $apply_setting )

Determine whether to apply the hideLocationSearch setting on the Events Manager page.


Parameters #

$apply_settings

(boolean) (Required) Whether to apply the setting or not.


Top ↑

Return #

(boolean) Whether to apply the setting or not.


Top ↑

Source #

File: src/Tribe/Admin/Manager/Hooks.php

	public function filter_views_v2_hide_location_search_on_event_manager_page( $apply_setting ) {
		if ( Admin_Helpers::instance()->is_screen( 'tribe-admin-manager' ) ) {
			return false;
		}

		return $apply_setting;
	}

Top ↑

Changelog #

Changelog
Version Description
5.11.1 Introduced.