Tribe__Promise::dispatch()
Overrides the base method to save before dispatching.
Return
(mixed) The dispatch return value.
Source
File: src/Tribe/Promise.php
public function dispatch() { if ( empty( $this->data ) ) { $this->complete(); return null; } if ( ! $this->did_save ) { $this->save(); } return parent::dispatch(); }
Changelog
Version | Description |
---|---|
4.9.5 | Introduced. |