gpnf_duplicate_entry

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

Description

Filter the child entry that will be duplicated.

Usage

Apply to all Nested Form fields on all forms.

add_filter( 'gpnf_duplicate_entry', 'my_custom_function' );

Apply to all Nested Form fields on a specific form.

add_filter( 'gpnf_duplicate_entry_FORMID', 'my_custom_function' );

Apply to a specific Nested Form field on a specific form.

add_filter( 'gpnf_duplicate_entry_FORMID_FIELDID', 'my_custom_function' );

Parameters

  • entry array

    The entry that will be duplicated.

  • entry_id int

    The ID of the entry that will be duplicated.

  • parent_form_id int

    The ID of the form that contains the Nested Form field.

  • nested_form_field_id int

    The ID of the Nested Form field for which the entry is being duplicated.

Since

This filter is available since Gravity Forms Nested Forms 1.0.