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.
Examples
Double the default child entry max.
<?php
/**
* Gravity Perks // Nested Forms // Double The Default Child Entry Max
* https://gravitywiz.com/documentation/gravity-forms-nested-forms/
*/
add_filter( 'gpnf_child_entry_max', function( $child_entry_max ) {
return 200;
} );
Since
This filter is available since Gravity Forms Nested Forms 1.0-beta-8.44.