gpnf_child_entry_max

  1. Description
  2. Usage
  3. Parameters
  4. Example
    1. Change the Entry Max to 999
  5. Since

Description

Filter the maximum number of child entries accepted in a Nested Form field.

This supersedes any maximum set in the Entry Limits setting of a Nested Form field.

Usage

add_filter( 'gpnf_child_entry_max', 'my_custom_function' );

Parameters

  • child_entry_max int

    The maximum number of child entries accepted in a Nested Form field.

Example

Change the Entry Max to 999

add_filter( 'gpnf_child_entry_max', function ( $child_entry_max ) {
	return 999;
} );

Since

This filter is available since Gravity Forms Nested Forms 1.0-beta-8.44.