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/Hooks.php
public function filter_context_locations( array $locations = [] ) {
return $this->container->make( Shortcodes\Manager::class )->filter_context_locations( $locations );
}
Changelog
| Version | Description |
|---|---|
| 4.7.9 | Introduced. |