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

tec_events_query_current_moment

Plugin: The Events Calendar

Filter Hook: Filters the value that will be used to indicate the current moment in an Event query. The query will return Events ending after the current moment.

Tribe__Events__Query::filter_and_order_by_date()

Plugin: The Events Calendar

Method: Provided a query for Events, the method will set the query variables up to filter and order Events by start and end date.

tribe_events_parse_query

Plugin: The Events Calendar

Action Hook: Fires after the query has been parsed by The Events Calendar.

tec_events_query_default_view

Plugin: The Events Calendar

Filter Hook: Allows other plugins (and v2 views) to hook in and alter this before we change the query.

tribe_events_suppress_query_filters

Plugin: The Events Calendar

Filter Hook: A toggle filter to completely suppress all query filters for the whole request.

Tribe__Events__Query::last_found_events()

Plugin: The Events Calendar

Method: Reruns the last query used to `getEvents` to fetch all the found IDs.

Tribe__Events__Query::default_page_on_front()

Plugin: The Events Calendar

Method: If the user has the Main events page set on the reading options it should return 0 or the default value in order to avoid to set the: – p – page_id

Tribe__Events__Query::getEventCounts()

Plugin: The Events Calendar

Method: Gets the event counts for individual days.

Tribe__Events__Query::getEvents()

Plugin: The Events Calendar

Method: Customized WP_Query wrapper to set up event queries with default arguments.

tribe_events_query_posts_join_venue_organizer

Plugin: The Events Calendar

Filter Hook: Provides an opportunity to modify the join condition added to the query when ordering by venue or organizer.

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