Messages::filter_need_events_label_keys( array $need_events_label_keys = array() )

Filters the array of keys of the messages that need the events label.


Parameters #

$need_events_label_keys

(array) (Optional) Array of keys of the messages that need the events label.

Default value: array()


Top ↑

Return #

(array) The filtered array of keys, including PRO Views specific keys.


Top ↑

Source #

File: src/Tribe/Views/V2/Messages.php

	public function filter_need_events_label_keys( array $need_events_label_keys = [] ) {
		array_push( $need_events_label_keys, 'no_results_found_w_location', 'week_no_results_found_w_location' );

		return $need_events_label_keys;
	}

Top ↑

Changelog #

Changelog
Version Description
5.0.3 Introduced.