ActionScheduler_Abstract_QueueRunner::get_allowed_concurrent_batches()
Get the number of concurrent batches a runner allows.
Метод класса: ActionScheduler_Abstract_QueueRunner{}
Хуки из метода
Возвращает
int
.
Использование
$ActionScheduler_Abstract_QueueRunner = new ActionScheduler_Abstract_QueueRunner(); $ActionScheduler_Abstract_QueueRunner->get_allowed_concurrent_batches();
Код ActionScheduler_Abstract_QueueRunner::get_allowed_concurrent_batches() ActionScheduler Abstract QueueRunner::get allowed concurrent batches WC 7.7.0
public function get_allowed_concurrent_batches() { return apply_filters( 'action_scheduler_queue_runner_concurrent_batches', 1 ); }