gpnf_submitted_entry_ids

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

Description

Filter the entry IDs when populating entries into a Nested Form field (typically for editing). This is useful for adding support for editing Nested Forms in other plugins such as GP Entry Blocks.

Note, this filter is often used in tandem with gpnf_bypass_entry_permissions.

Usage

Filter entry IDs for all Nested Form fields.

add_filter( 'gpnf_submitted_entry_ids', 'my_custom_function' );

Filter entry IDs for all Nested Form fields on a specific parent form.

add_filter( 'gpnf_submitted_entry_ids_PARENTFORMID', 'my_custom_function' );

Filter entry IDs for a specific Nested Form field.

add_filter( 'gpnf_submitted_entry_ids_PARENTFORMID_NESTEDFORMFIELDID', 'my_custom_function' );

Parameters

  • entry_ids array

    Entry IDs to populate the field with.

  • form array

    The current parent form.

  • entry_ids GF_Field

    The current Nested Form field.

Since

This filter is available since Gravity Forms Nested Forms 1.0.8.