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

Tribe__Promise::save()

Plugin: Tribe Common

Method: Overrides the base method to allow building promises on empty objects without actually writing to the database.

Tribe__Promise::resolve()

Plugin: Tribe Common

Method: An alias of the dispatch method to stick with the expected naming standard.

Tribe__Promise::then()

Plugin: Tribe Common

Method: Sets a callback, and optional arguments, that will be called when the promise is resolved.

Tribe__Promise::dispatch()

Plugin: Tribe Common

Method: Overrides the base method to save before dispatching.

Tribe__Promise::error_handler()

Plugin: Tribe Common

Method: A custom error handler to log any error tha might happen while invoking a promise callback.

Tribe__Promise

Plugin: Tribe Common

Class: Models a promise to do something in asynchronous mode.

Tribe__Promise::__construct()

Plugin: Tribe Common

Method: Tribe__Promise constructor.

Tribe__Promise::action()

Plugin: Tribe Common

Method: {@inheritdoc}

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