Filter: gform_max_async_task_attempts
Allows the number of retries to be modified before the task is abandoned.
Parameters
| Name | Type | Description |
|---|---|---|
| $max_attempts | int | The maximum number of attempts allowed. Default: 1. |
| $task | mixed | The task about to be processed. |
| $batch | object | The batch currently being processed. |
| $identifier | string | The string used to identify the type of background process. |
Since
Source
Defined in includes/async/class-gf-background-process.php at line 1138