Filter: $this->identifier . _should_continue
Filter whether the current background process should continue running the task if there is data to be processed.
If the processing time or memory limits have been exceeded, the value will be false. If pause or cancel have been requested, the value will be false. It is very unlikely that you would want to override a false value with true. If false is returned here, it does not necessarily mean background processing is complete. If there is batch data still to be processed and pause or cancel have not been requested, it simply means this background process should spawn a new process for the chain to continue processing and then close itself down.
Parameters
| Name | Type | Description |
|---|---|---|
| $continue | bool | Should the current process continue processing the task? |
| $chain_id | string | The current background process chain's ID. |
Since
Source
Defined in includes/async/class-gf-background-process.php at line 1552