gpnf_should_process_feed
Description
Indicate whether a feed should be processed by context (parent or child submission).
Usage
Apply to all feeds.
add_filter( 'gpnf_should_process_feed', '__return_true' );
Apply to all feeds for a specific parent form.
add_filter( 'gpnf_should_process_feed_FORMID', '__return_true' );
Apply to all feeds for a specific parent form and Nested Form field.
add_filter( 'gpnf_should_process_feed_FORMID_FIELDID', '__return_true' );
Apply to all feeds for a specific add-on.
add_filter( 'gpnf_should_process_ADDONSLUG_feed', '__return_true' );
Apply to all feeds for a specific add-on and parent form.
add_filter( 'gpnf_should_process_ADDONSLUG_feed_FORMID', '__return_true' );
Apply to all feeds for a specific add-on, parent form and Nested Form field.
add_filter( 'gpnf_should_process_ADDONSLUG_feed_FORMID_FIELDID', '__return_true' );
Parameters
should_process_feed bool
Whether the feed should processed for the given context. Compares the context with the $field->gpnfFeedProcessing setting for default evaluation.
feed array
The current feed.
context string
The current context for which feeds are being processed; ‘parent’ is a parent form submission; ‘child’ is a nested form submission.
parent_form array
The parent form object.
nested_form_field array
The field object of the Nested Form field.
entry array
The current entry for which feeds are being processed.
Since
This filter is available since Gravity Forms Nested Forms 1.0.