apply_filters( "tribe_events_views_v2_{$this->get_slug()}_widget_repository_args", TribeEventsViewsV2ViewsWidgetsarray<string,mixed> $args , Tribe__Context $context , TribeEventsViewsV2ViewsWidgetsWidget_View $widget )
A widget-specific filter for repository args, based on widget slug.
Contents
Allows other plugins to add/remove args for the repository pre-query.
Parameters
- $args
-
(<span class="TribeEventsViewsV2ViewsWidgetsarray">TribeEventsViewsV2ViewsWidgetsarray) The arguments, ready to be set on the View repository instance.
- $context
-
(Tribe__Context) The context to use to setup the args.
- $widget
-
(TribeEventsViewsV2ViewsWidgetsWidget_View) Instance of the Widget View we are filtering for.
Source
Changelog
| Version | Description |
|---|---|
| 5.4.0 | Include the $widget param. |
| 5.2.0 | Introduced. |