Skip to content

Commit 94e06a1

Browse files
authored
gpnf-add-child-entry-on-render.php: Updated filter variables.
1 parent 0ed5edb commit 94e06a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

experimental/gpnf-add-child-entry-on-render.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* for when a child entry should be generated and attached.
1010
*/
1111
// Update "123" to your form ID and "4" to your Nested Form field ID.
12-
add_filter( 'gpnf_submitted_entry_ids_556_1', function( $entry_ids, $parent_form, $nested_form_field ) {
12+
add_filter( 'gpnf_submitted_entry_ids_123_4', function( $entry_ids, $parent_form, $nested_form_field ) {
1313

1414
$hash = gpnf_session_hash( $parent_form['id'] );
1515

0 commit comments

Comments
 (0)