Skip to main content

Filter: gform_max_async_task_attempts

Allows the number of retries to be modified before the task is abandoned.

Parameters

NameTypeDescription
$max_attemptsintThe maximum number of attempts allowed. Default: 1.
$taskmixedThe task about to be processed.
$batchobjectThe batch currently being processed.
$identifierstringThe string used to identify the type of background process.

Since

Source

Defined in includes/async/class-gf-background-process.php at line 1138