Hooks::filter_context_locations( array $locations = array() )
Filters the context locations to add the ones used by The Events Calendar PRO for Shortcodes.
Contents
Parameters
- $locations
-
(array) (Optional) The array of context locations.
Default value: array()
Return
(array) The modified context locations.
Source
File: src/Tribe/Views/V2/Shortcodes/Hooks.php
public function filter_context_locations( array $locations = [] ) {
return Tribe_Events::filter_context_locations( $locations );
}
Changelog
| Version | Description |
|---|---|
| 5.5.0 | Moved this from TribeEventsProViewsV2Hooks. |
| 4.7.9 | Introduced. |