Description
The gform_allow_async_feed_reprocessing filter enables the reprocessing feeds that have already been processed via background tasks.
Usage
Applies to all forms:
add_filter( 'gform_allow_async_feed_reprocessing', 'your_function_name', 10, 6 );
Parameters
- $allow_reprocessing bool
Indicates if the feed can be reprocessed. Default is false. - $feed array
The feed queued for processing. - $entry array
The entry being processed. - $form array
The form the entry belongs to. - $addon GFFeedAddOn
The current instance of the add-on the feed belongs to. - $processed_feeds array
An array of feed IDs that have already been processed for the given entry.
Examples
Allow Async Feed Reprocessing
add_filter( 'gform_allow_async_feed_reprocessing', '__return_true' );
Placement
This code can be used in the functions.php file of the active theme, a custom functions plugin, a custom add-on, or with a code snippets plugin.
See also the PHP section in this article: Where Do I Put This Code?
Source Code
This filter is located in GF_Feed_Processor::can_process_feed()
in includes/addon/class-gf-feed-processor.php
Since
The filter was added in Gravity Forms 2.9.2