ActionScheduler_QueueRunner::hook_dispatch_async_request()publicWC 1.0

Hook check for dispatching an async request.

Метод класса: ActionScheduler_QueueRunner{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$ActionScheduler_QueueRunner = new ActionScheduler_QueueRunner();
$ActionScheduler_QueueRunner->hook_dispatch_async_request();

Код ActionScheduler_QueueRunner::hook_dispatch_async_request() WC 8.9.0

public function hook_dispatch_async_request() {
	add_action( 'shutdown', array( $this, 'maybe_dispatch_async_request' ) );
}