apply_filters( 'tribe_events_views_v2_use_wp_template_hierarchy', boolean $load, string $template, TribeEventsViewsV2Tribe__Context $context, WP_Query $query )

Allows filtering the loading of our proprietary templates.


Parameters

$load

(boolean) Whether we should load the theme templates instead of the Tribe templates. Default false.

$template

(string) The template located by WordPress.

$context

(TribeEventsViewsV2Tribe__Context) The singleton, immutable, global object instance.

$query

(WP_Query) The global $wp_query, the $wp_the_query if $wp_query empty, null otherwise. From tribe_get_global_query_object() above.


Top ↑

Source

File: src/Tribe/Views/V2/Template_Bootstrap.php


Top ↑

Changelog

Changelog
Version Description
5.2.1 Introduced.