ActionScheduler_QueueRunner::hook_dispatch_async_request()
Hook check for dispatching an async request.
Method of the class: ActionScheduler_QueueRunner{}
No Hooks.
Return
null
. Nothing (null).
Usage
$ActionScheduler_QueueRunner = new ActionScheduler_QueueRunner(); $ActionScheduler_QueueRunner->hook_dispatch_async_request();
ActionScheduler_QueueRunner::hook_dispatch_async_request() ActionScheduler QueueRunner::hook dispatch async request code WC 9.2.3
public function hook_dispatch_async_request() { add_action( 'shutdown', array( $this, 'maybe_dispatch_async_request' ) ); }