WordPress at Your Fingertips
function is not described

WC_Background_Process::batch_limit_exceeded() protected WC 1.0

See if the batch limit has been exceeded.

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

No Hooks.

Return

true|false.

Usage

// protected - for code of main (parent) or child class
$result = $this->batch_limit_exceeded();

Code of WC_Background_Process::batch_limit_exceeded() WC 5.5.2

<?php
protected function batch_limit_exceeded() {
	return $this->time_exceeded() || $this->memory_exceeded();
}