Scope isolated include.
Plugin: Event Tickets
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
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
Counts the total number of tickets still available for sale for a specific event.
Accepts the post object or ID for a product and, if it represents an event ticket, returns the corresponding event object.
Determines if the event has sold out of tickets.
Determines if any tickets exist for the current event (a specific event may be specified, though, by passing the post ID or post object).
Checks if the event has any tickets on sale
Returns true if the event contains one or more tickets which are not subject to any inventory limitations.
Indicates if one or more of the tickets available for this event (but not all) have sold out.
Determines if the product object (or product ID) represents a ticket for an event.
Checks if the ticket is on sale (in relation to it’s start/end sale dates).
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
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.
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
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.
Registers a value under a slug in the container.
Registers a class as a singleton.
Generates html for any notices that have been queued on the current view
Echos Remaining Ticket Count and Purchase Buttons for an Event
Updates a given Object Capacity
Get attendee(s) by an id
Returns the capacity for a given Post
Gets an array of event ids when passing an id
Turns a Stock, Remaining or Capacity into a Human Readable Format
Includes a template part, similar to the WP get template part, but looks in the correct directories for Tribe Tickets templates
Gets the ticket provider class when passed an id
Gets the “tickets sold” message for a given ticket
Return true or false if a given id has meta data
Return true or false if a given id has meta fields
Returns the current post object that can have tickets attached to it
Returns whether or not the provided post type allows tickets to be attached
Returns or echoes a url to a file in the Event Tickets plugin resources directory
Updates a given Object Capacity
* @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