gpnf_should_process_feed

  1. Description
  2. Usage
  3. Parameters
  4. Since

Description

Indicate whether a feed should be processed by context (parent or child submission).

Usage

Applied globally

add_filter( 'gpnf_should_process_feed', 'my_custom_function' );

Applied to specific form

add_filter( 'gpnf_should_process_feed_FORMID', 'my_custom_function' );

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

  • 1.0 Hook added.