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

Tribe__Context::dangerously_repopulate_locations()

Plugin: Tribe Common

Method: Just dont.

Tribe__Context::safe_set()

Plugin: Tribe Common

Method: Safely set the value of a group of locations.

Tribe__Context::doing_php_initial_state()

Plugin: Tribe Common

Method: Whether the current request is for a PHP-rendered initial state or not.

Tribe__Context::get_read_key_for()

Plugin: Tribe Common

Method: Returns the first key, if there are many, that will be used to read a location.

Tribe__Context::doing_rest()

Plugin: Tribe Common

Method: Checks whether the current request is a REST API one or not.

Tribe__Context::query_method()

Plugin: Tribe Common

Method: Reads the value from one or more global WP_Query object methods.

Tribe__Context::location_func()

Plugin: Tribe Common

Method: Reads the value from one callback, passing it the value of another Context location.

Tribe__Context::is()

Plugin: Tribe Common

Method: Convenience method to get and check if a location has a truthy value or not.

Tribe__Context::translate_sub_locations()

Plugin: Tribe Common

Method: Translates sub-locations to their respective location key.

Tribe__Context::wp_parsed()

Plugin: Tribe Common

Method: Reads (gets) the value reading it from a query var parsed from the global `$wp` object.

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