Action: um_reset_password_errors_hook

do_action( 'um_reset_password_errors_hook', $submission_data, $form_data )

Fires for handle validate errors on the reset password form submit.

Parameters:
Name Type Description
$submission_data array

Form submitted data.

$form_data array

Form data. Since 2.6.8

Since:
  • 2.6.8 Added $form_data attribute.
Source:
Example

Make any custom validation on password reset form.

function my_reset_password_errors( $submission_data, $form_data ) {
    // your code here
}
add_action( 'um_reset_password_errors_hook', 'my_reset_password_errors', 10, 2 );