Scope isolated include.
Plugin: Tribe Common
Builds and returns a closure to be used to lazily make objects on PHP 5.3+, call a method on them and return the method value.
Builds and returns a closure to be used to lazily make objects on PHP 5.3+ and return them.
Returns a ready to use instance of the requested class.
Append a path fragment to a URL preserving query arguments and fragments.
Recursively merge two arrays preserving keys.
Shortcut for Tribe__Assets::register(), include a single asset
Shortcut for Tribe__Assets::enqueue(), include assets
Shortcut for Tribe__Assets::enqueue_group() include assets by groups
Function to include more the one asset, based on `tribe_asset`
Returns formatted date for the official beginning of the day according to the Multi-day cutoff time option
Returns a lambda function suitable to use as a callback; when called the function will build the implementation bound to `$classOrInterface` and return the value of a call to `$method` method with the call arguments.
Returns a tribe_callback for a very simple Return value method
Count items in a hierarchical array
Count keys in a hierarchical array
Detects multibyte encoding if the function is available, returns false if not
Registers truthy or falsy callbacks on the filters used to detect if any frontend operation is being done for logged in users or not.
Returns formatted date for the official end of the day according to the Multi-day cutoff time option
A quick internal way of sending errors using WP_Error
Filterable `die` wrapper.
Receives a float and formats it with a currency symbol
Get the date format specified in the tribe options
Get a date option.
Get the Datetime Format
Get the datetime saparator from the database option with escaped characters or not 😉
Accepts two dates and returns the number of days between them
Grabs the $wp_query global in a safe way with some fallbacks that help prevent fatal errors on sites where themes or other plugins directly manipulate the $wp_query global.
Get Network Options
Tests to see if the requested variable is set either as a post field or as a URL param and returns the value if so.
Get the time format
Returns the value of a registered variable.
tribe_is_bot checks if the visitor is a bot and returns status
Check whether variable is a WordPress or Tribe Error.
Whether we are currently performing a frontend operation or not.
Handy function for easily detecting if this site’s using the 24-hour time format.
Determines if the provided value should be regarded as ‘true’.
A unified way of checking if WPML is activated.
Detects urlencoded strings if the function is available, and converts them.
helper function to remove empty lines from multi-line strings
Normalizes a manual UTC offset string.
Normalizes a list of terms to a list of fields.
Shortcut for Tribe__Admin__Notices::register(), create a Admin Notice easily
Wrapper function for `tribe_events_get_the_excerpt` to prevent access the function when is not present on the current site installation.
Checks if a post, optionally of a specific type, exists in the database.
Function to prepare content for use as a value in a json encoded string destined for storage on a html data attribute.
Recursively iterate through an nested structure, calling tribe_prepare_for_json() on all scalar values
Registers a class.
Register a new error based on a Namespace
Checks if this plugin has permission to run, if not it notifies the admin
Registers a service provider in the container.
Returns or echoes a url to a file in the Events Calendar plugin resources directory
Attempts to find and return an object of the specified type that is associated with a specific hook.
Wrapper for set_time_limit to suppress errors
Registers a value under a slug in the container.
Registers a class as a singleton.
Sorting function based on Priority
Get the length of a string, uses mb_strlen when available
Convert string to lowercase, using multibyte functions if available
Convert string to uppercase, using multibyte functions if available
Get a substring, using multibyte functions if available
Generates html for any notices that have been queued on the current view
Shortcut for Tribe__Admin__Notices::register_transient(), create a transient Admin Notice easily.
Removes a transient notice based on its slug.
* @param string|int $image The path to an image file, an image URL or an attachment post ID.
Return a WP Locale month in the specified format
Return a WP Locale weekday in the specified format