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
| Name | Type | Description |
|---|---|---|
| $max_attempts | int | The maximum number of retries allowed. Default: 1. |
| $form | array | The form array |
| $entry | array | The entry array |
| $addon_slug | string | The add-on slug |
| $feed | array | The feed array |
Since
Source
Defined in includes/addon/class-gf-feed-processor.php at line 201