• 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/Templates.php

tribe_events_community_submit_event_page_title

Plugin: Community Events

Filter Hook: Replace the CE submit event page title.

Tribe__Templates::locate_stylesheet()

Plugin: Tribe Common

Method: Look for the stylesheets. Fall back to $fallback path if the stylesheets can’t be located or the array is empty.

Tribe__Templates::is_embed()

Plugin: Tribe Common

Method: Add our own method is_embed to check by WordPress Version and function is_embed to prevent fatal errors in WordPress 4.3 and earlier

Tribe__Templates

Plugin: Tribe Common

Class: Handle views and template files.

Tribe__Events__Templates::restoreQuery()

Plugin: The Events Calendar

Method: Restore the original query after spoofing it.

Tribe__Events__Templates::showInLoops()

Plugin: The Events Calendar

Method: Checks where we are are and determines if we should show events in the main loop

Tribe__Events__Templates::getTemplateHierarchy()

Plugin: The Events Calendar

Method: Loads theme files in appropriate hierarchy: 1) child theme, 2) parent template, 3) plugin resources. will look in the events/ directory in a theme and the views/ directory in the plugin

Tribe__Events__Templates::event_date_to_pubDate()

Plugin: The Events Calendar

Method: Convert the post_date_gmt to the event date for feeds

Tribe__Events__Templates::maybeSpoofQuery()

Plugin: The Events Calendar

Method: Decide if we need to spoof the query.

Tribe__Events__Templates::get_current_page_template()

Plugin: The Events Calendar

Method: Get the correct internal page template

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