Skip to main content

Filter: gform_max_async_feed_attempts

Allow the number of retries to be modified before the feed is abandoned.

if $max_attempts > 1 and if GFFeedAddOn::process_feed() throws an error or returns a WP_Error then the feed will be attempted again. Once the maximum number of attempts has been reached then the feed will be abandoned.

Parameters

NameTypeDescription
$max_attemptsintThe maximum number of retries allowed. Default: 1.
$formarrayThe form array
$entryarrayThe entry array
$addon_slugstringThe add-on slug
$feedarrayThe feed array

Since

Source

Defined in includes/addon/class-gf-feed-processor.php at line 201