WordPress at Your Fingertips
function is not described

ActionScheduler_Abstract_QueueRunner::has_maximum_concurrent_batches() public WC 1.0

Check if the number of allowed concurrent batches is met or exceeded.

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

No Hooks.

Return

true|false.

Usage

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

Code of ActionScheduler_Abstract_QueueRunner::has_maximum_concurrent_batches() WC 6.1.1

public function has_maximum_concurrent_batches() {
	return $this->store->get_claim_count() >= $this->get_allowed_concurrent_batches();
}