ActionScheduler_AsyncRequest_QueueRunner::maybe_dispatch()
If the async request runner is needed and allowed to run, dispatch a request.
Метод класса: ActionScheduler_AsyncRequest_QueueRunner{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$ActionScheduler_AsyncRequest_QueueRunner = new ActionScheduler_AsyncRequest_QueueRunner(); $ActionScheduler_AsyncRequest_QueueRunner->maybe_dispatch();
Код ActionScheduler_AsyncRequest_QueueRunner::maybe_dispatch() ActionScheduler AsyncRequest QueueRunner::maybe dispatch WC 9.2.3
public function maybe_dispatch() { if ( ! $this->allow() ) { return; } $this->dispatch(); ActionScheduler_QueueRunner::instance()->unhook_dispatch_async_request(); }