gpnf_should_load_child_entries_from_session
Description
Filter whether child entries should be loaded from the Nested Forms session.
Usage
Applied globally
add_filter( 'gpnf_should_load_child_entries_from_session', 'my_custom_function' );
Applied to specific form
add_filter( 'gpnf_should_load_child_entries_from_session_FORMID', 'my_custom_function' );
Applied to specific field
add_filter( 'gpnf_should_load_child_entries_from_session_FORMID_FIELDID', 'my_custom_function' );
Parameters
$load_from_session
bool
Should child entries be loaded from session?
$form
array
Current parent form object.
$field
object
Current Nested Form field object.
Since
1.1.17
Hook added.