Fires before errors are returned from a password reset request.
Parameters
Source
do_action( 'lostpassword_post', $errors, $user_data );
Fires before errors are returned from a password reset request.
do_action( 'lostpassword_post', $errors, $user_data );
You must log in before being able to contribute a note or feedback.
Example to use this function
One need to add one custom field in lostpassword form using lostpassword_form hook, And now want to validate this field and add a wp_error also. So see how this can be done.