ActionScheduler_Abstract_QueueRunner::get_allowed_concurrent_batches()publicWC 1.0

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() WC 6.9.4

public function get_allowed_concurrent_batches() {
	return apply_filters( 'action_scheduler_queue_runner_concurrent_batches', 1 );
}