Custom Filter and Action functions
-
Hi,
I added 2 custom functions:
add_filter(‘forminator_custom_form_submit_errors’, ‘my_errors’, 10, 3);
add_action( ‘forminator_form_after_save_entry’, ‘my_action’, 10, 1);
The filter adds and display my custom errors fine but it appears that it’s still continue to process the from with my_action function, even though an error is displayed, after my_errors() function
Doesn’t the form process die if my_errors() function display an error message?
I want my custom errors messages to be displayed with my_errors() and not continue to process my_action() if it does.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Custom Filter and Action functions’ is closed to new replies.