Views_Provider::register()
Binds and sets up implementations.
Source
File: src/Tribe/Views/V2/Views_Provider.php
public function register() {
$this->container->singleton( 'events-virtual.views.v2.provider', $this );
add_filter( 'query_vars', [ $this, 'filter_query_vars' ], 15 );
add_filter( 'tribe_events_views_v2_url_query_args', [ $this, 'filter_view_url_query_args' ], 10, 2 );
add_filter( 'tribe_events_views_v2_view_repository_args', [ $this, 'filter_events_views_v2_view_repository_args' ], 10, 2 );
add_filter( 'tribe_events_filter_views_v2_wp_title_plural_events_label', [ $this, 'filter_views_v2_wp_title_plural_events_label' ], 10, 3 );
add_filter( 'tribe_events_pro_filter_views_v2_wp_title_plural_events_label', [ $this, 'filter_views_v2_wp_title_plural_events_label' ], 10, 3 );
add_filter( 'tribe_events_views_v2_view_breadcrumbs', [ $this, 'filter_v2_view_breadcrumbs' ], 10, 2 );
}
Changelog
| Version | Description |
|---|---|
| 1.0.1 | Introduced. |