do_action( 'bigcommerce/form/error', WP_Error $errors , array $submission )
Summary
Triggered when a form has errors that prevent completion.
Parameters
- $errors
-
(WP_Error) The message that will display to the user
- $submission
-
(array) The data submitted to the form