Hello @jastrup
I trust you are doing well!
Please try the following filterforminator_custom_form_submit_field_data with 2 arguments $field_data_array and $form_id
Have a look at this example:
add_filter('forminator_custom_form_submit_field_data', 'custom_form_submit', 11, 2);
function custom_form_submit($field_data_array, $form_id){
//Todo: some code
return $field_data_array;
}
Hope this helps!
Cheers,
Nastia
I am building a custom addon for forminator, is there a hook I can use to display a button on forminator submission admin page?
Hello @jastrup
I don’t see any available hooks in the relevant file (\wp-content\plugins\forminator\admin\views\entries\content.php), so you should use some JS in order to insert additional content there.
Warm regards,
Dimitris
Hello there @jastrup
I hope you are doing well!
We haven’t heard back from you for a while now so we’ve marked this ticket as resolved. If you do have any followup questions or require further assistance feel free to reopen it and let us know here.
Kind regards,
Nastia