Hooks::filter_settings_fields( TribeEventsFilterbarViewsV2_1array $fields )

Filters the filter settings fields to remove live filters update setting.


Parameters #

$fields

(<span class="TribeEventsFilterbarViewsV2_1array">TribeEventsFilterbarViewsV2_1array) (Required) Associative array of filters settings.


Top ↑

Return #

(TribeEventsFilterbarViewsV2_1array<string,array>) The filtered array of filter settings fields.


Top ↑

Source #

File: src/Tribe/Views/V2_1/Hooks.php

	public function filter_settings_fields( $fields ) {
		unset( $fields[ 'liveFiltersUpdate' ] );

		return $fields;
	}