WC_Background_Process::batch_limit_exceeded()protectedWC 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 6.8.2

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