apply_filters( 'tribe_events_views_v2_bootstrap_should_display_single', boolean $should_display_single , string $view_slug , Tribe__Context $context , WP_Query $query )
Filters when we display the single for events.
Contents
Parameters
- $should_display_single
-
(boolean) If we are currently going to display single.
- $view_slug
-
(string) The slug of the View that will be built, based on the context.
- $context
-
(Tribe__Context) Tribe context used to setup the view.
- $query
-
(WP_Query) The current WP Query object.
Source
Changelog
| Version | Description |
|---|---|
| 5.0.0 | Introduced. |