Hooks::filter_events_views( array $views = array() )
Filters the available Views to add the ones implemented in PRO.
Contents
Parameters
- $views
-
(array) (Optional) An array of available Views.
Default value: array()
Return
(array) The array of available views, including the PRO ones.
Source
File: src/Tribe/Views/V2/Hooks.php
public function filter_events_views( array $views = [] ) { $views['all'] = All_View::class; $views['photo'] = Photo_View::class; $views['week'] = Week_View::class; $views['map'] = Map_View::class; return $views; }
Changelog
Version | Description |
---|---|
4.7.5 | Introduced. |