WordPress at Your Fingertips
function is not described

ActionScheduler_Abstract_QueueRunner::get_allowed_concurrent_batches() public WC 1.0

Get the number of concurrent batches a runner allows.

{} It's a method of the class: ActionScheduler_Abstract_QueueRunner{}

Return

Int.

Usage

$ActionScheduler_Abstract_QueueRunner = new ActionScheduler_Abstract_QueueRunner();
$ActionScheduler_Abstract_QueueRunner->get_allowed_concurrent_batches();

Code of ActionScheduler_Abstract_QueueRunner::get_allowed_concurrent_batches() WC 6.1.1

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