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

Tribe__Events__Dates__Known_Range::maybe_update_known_range()

Plugin: The Events Calendar

Method: Intended to run when the save_post_tribe_events action is fired.

Tribe__Events__Dates__Known_Range::maybe_rebuild_known_range()

Plugin: The Events Calendar

Method: Fires on delete_post and decides whether or not to rebuild our record or earliest/latest event dates (which will be done when deleted_post fires, so that the deleted event is removed from the db before we recalculate).

Tribe__Events__Dates__Known_Range::update_known_range()

Plugin: The Events Calendar

Method: Intelligently updates our record of the earliest start date/latest event date in the system. If the existing earliest/latest values have not been superseded by the new post’s start/end date then no update takes place.

Tribe__Events__Dates__Known_Range

Plugin: The Events Calendar

Class:

Tribe__Events__Dates__Known_Range::instance()

Plugin: The Events Calendar

Method: The class singleton constructor.

Tribe__Events__Dates__Known_Range::rebuild_known_range()

Plugin: The Events Calendar

Method: Determine the earliest start date and latest end date currently in the database and store those values for future use.

tribe_events_rebuild_known_range

Plugin: The Events Calendar

Filter Hook: Allows third-party code to alter the update process of known range and bail out of this implementation entirely.

The Events Calendar
  • Home
  • Products
  • Blog
  • Support
© 2026 The Events Calendar Terms and Conditions Privacy