• Home
  • Knowledgebase
  • DevDocs
  • Translations
  • Support
  • Live Preview

logo DevDocs

By The Events Calendar
Filter by type:
Skip to content
Filter by type:
Search
Browse: Home / src/Tribe/Views/V2/Template_Bootstrap.php

Template_Bootstrap::context_view_as_single_event()

Plugin: The Events Calendar

Method: Sets the current view context to `single-event` for the legacy view system.

Namespace: Tribe\Events\Views\V2

tribe_events_views_v2_use_wp_template_hierarchy

Plugin: The Events Calendar

Filter Hook: Allows filtering the loading of our proprietary templates.

tribe_events_views_v2_bootstrap_html

Plugin: The Events Calendar

Filter Hook: Filters the HTML for the view before we do any other logic around that.

Template_Bootstrap::add_body_classes()

Plugin: The Events Calendar

Method: Add body classes.

Namespace: Tribe\Events\Views\V2

Template_Bootstrap::should_add_body_class_to_queue()

Plugin: The Events Calendar

Method: Contains the logic for if this object’s classes should be added to the queue.

Namespace: Tribe\Events\Views\V2

Template_Bootstrap::filter_template_file()

Plugin: The Events Calendar

Method: Filter the template file in case we’re in single event and we need to use the theme overrides.

Namespace: Tribe\Events\Views\V2

tribe_events_views_v2_bootstrap_pre_should_load

Plugin: The Events Calendar

Filter Hook: Allows filtering if bootstrap should load.

tribe_events_views_v2_bootstrap_pre_get_view_html

Plugin: The Events Calendar

Filter Hook: Filters the HTML for the view before we do any other logic around that.

tribe_events_views_v2_bootstrap_should_display_single

Plugin: The Events Calendar

Filter Hook: Filters when we display the single for events.

Template_Bootstrap::filter_add_body_classes()

Plugin: The Events Calendar

Method: Set the correct body classes for our plugin.

Namespace: Tribe\Events\Views\V2

TEC Tech Docs
Proudly powered by WordPress Theme: Product Docs.
The Events Calendar
  • Home
  • Products
  • Blog
  • Support
© 2026 The Events Calendar Terms and Conditions Privacy