Filters::should_display_filters( TribeEventsViewsV2View_Interface $view )
Get whether filters should display or not.
Topics
Parameters #
- $view
-
(TribeEventsViewsV2View_Interface) (Required) The View currently rendering.
Return #
(bool)
Source #
File: src/Tribe/Views/V2/Filters.php
public function should_display_filters( $view ) { /** * Allows filtering of whether filters should display. * * @since 4.9.1 * * @param bool $should_display_filters Boolean on whether to display filters or not. * @param \Tribe\Events\Views\V2\View_Interface $view The View currently rendering. */ return apply_filters( 'tribe_events_filter_bar_views_v2_should_display_filters', true, $view ); }
Changelog #
Version | Description |
---|---|
4.9.1 | Introduced. |