action not worked for save form entry to other database table
-
// This hook fires before the fields are set
add_action( ‘forminator_custom_form_submit_before_set_fields’, ‘debug_forminator_before_set_fields’, 10, 2 );
function debug_forminator_before_set_fields( $entry, $form_id) {
error_log( “Before set fields triggered for entry ID: ” . $entry->entry_id . ” for form ID: ” . $form_id );
}// This hook fires after submission is handled
add_action( ‘forminator_form_after_handle_submit’, ‘debug_forminator_after_submit’, 10, 2 );
function debug_forminator_after_submit( $entry_id, $form_id ) {
error_log( “Forminator after handle submit triggered for entry ID: ” . $entry_id . ” for form ID: ” . $form_id );
}
I need to save form entry to custom database table after successs submit. But above hook not worked. Please hep me.
- The topic ‘action not worked for save form entry to other database table’ is closed to new replies.