ActionScheduler_Abstract_QueueRunner::get_allowed_concurrent_batches()
Get the number of concurrent batches a runner allows.
Method of the class: ActionScheduler_Abstract_QueueRunner{}
Hooks from the method
Return
Int
.
Usage
$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 code WC 9.3.3
public function get_allowed_concurrent_batches() { return apply_filters( 'action_scheduler_queue_runner_concurrent_batches', 1 ); }