CARVIEW |
Select Language
HTTP/2 200
date: Sun, 12 Oct 2025 03:44:50 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
vary: Accept-Encoding
strict-transport-security: max-age=604800
strict-transport-security: max-age=31536000; includeSubDomains
x-content-type-options: nosniff
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
x-xss-protection: 1; mode=block
x-frame-options: SAMEORIGIN
x-frame-options: SAMEORIGIN
referrer-policy: no-referrer
referrer-policy: strict-origin-when-cross-origin
link: ; rel="https://api.w.org/"
link: ; rel="alternate"; title="JSON"; type="application/json"
link: ; rel=shortlink
fastcgi-cache: EXPIRED
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=RDxEHNjUEll3p1RiulMOOdsYOg3TRb%2F3k1I3A0b1PbO3zRLyZTz%2FP631xOPVxWYLAL1DCC8nXzBKAKKbLZrZCafCuwXXThzVXA9ehIiFLkXClkXl"}]}
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
content-encoding: gzip
cf-ray: 98d399d05cf1343c-BLR
gform_max_async_feed_attempts - Gravity Forms Documentation
gform_max_async_feed_attempts
Description
Allows the number of retries to be modified before the feed is abandoned.
Usage
add_filter( 'gform_max_async_feed_attempts', 'your_filter_name', 10, 5 );
Parameters
- $max_attempts int
The maximum number of retries allowed. The default is 1.
-
$form Form Object
The form object.
-
$entry Entry Object
The entry object.
-
$addon_slug string
The add-on slug.
-
$feed Feed Object
The feed object.
Examples
add_filter( 'gform_max_async_feed_attempts', 'filter_gform_max_async_feed_attempts', 10, 5 ); function filter_gform_max_async_feed_attempts( $max_attempts, $form, $entry, $addon_slug, $feed ) { if ( $addon_slug == 'gravityformswebhooks' ) { $max_attempts = 2; } return $max_attempts; }
Placement
This code should be placed in the functions.php file of your active theme.
Since
This filter was added in Gravity Forms 2.4.
Source Code
This filter is located in GF_Feed_Processor::task() in class-gf-feed-processor.php.