Hooks::filter_context_locations( array $locations = array() )

Filters the context locations to add the ones used by The Events Calendar PRO for Shortcodes.


Parameters

$locations

(array) (Optional) The array of context locations.

Default value: array()


Top ↑

Return

(array) The modified context locations.


Top ↑

Source

File: src/Tribe/Views/V2/Shortcodes/Hooks.php

	public function filter_context_locations( array $locations = [] ) {
		return Tribe_Events::filter_context_locations( $locations );
	}

Top ↑

Changelog

Changelog
Version Description
5.5.0 Moved this from TribeEventsProViewsV2Hooks.
4.7.9 Introduced.