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

Tribe__Events__Rewrite::filter_pagination_base()

Plugin: The Events Calendar

Method: Will adjust the `pagination_base` property in cases where the locale for the site is updated, and the page field needs to be interpreted with the translated value.

tec_events_rewrite_dynamic_matchers

Plugin: The Events Calendar

Filter Hook: Allow extending classes to add their own dynamic matchers.

tribe_events_rewrite_i18n_domains

Plugin: The Events Calendar

Filter Hook: Filters the text domains that should be loaded to get the correctly localized base slugs.

Tribe__Events__Rewrite::get_localized_bases()

Plugin: The Events Calendar

Method: Returns the map of localized bases for the specified text domains.

Tribe__Rewrite::is_plain_permalink()

Plugin: Tribe Common

Method: Determines if we have plain permalink.

Tribe__Events__Rewrite::maybe_delayed_flush_rewrite_rules()

Plugin: The Events Calendar

Method: When dealing with flush of rewrite rules we cannot do it from the activation process due to not all classes being loaded just yet. We flag a transient without expiration on activation so that on the next page load we flush the permalinks for the website.

tribe_rewrite_handled_rewrite_rules

Plugin: Tribe Common

Filter Hook: Filters the list of rewrite rules handled by our code to add or remove some as required.

Tribe__Events__Rewrite::filter_rewrite_parse_query_vars()

Plugin: The Events Calendar

Method: Filters the parsed query vars to take the `eventDisplay` query var into account.

tribe_events_rewrite_matchers_to_query_vars_map

Plugin: The Events Calendar

Filter Hook: Rewrite matchers for each display param, allowing external sources to create new params.

Tribe__Events__Rewrite::parse_request()

Plugin: The Events Calendar

Method: Overrides the base method, from common, to filter the parsed query variables and handle some cases related to the `eventDisplay` query variable.

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