WordPress at a glance
action is not described

lostpassword_post action-hook . WP 2.1.0

Fires before errors are returned from a password reset request.

Usage

add_action( 'lostpassword_post', 'action_function_name_1655' );
function action_function_name_1655( $errors ){
	// action...
}
$errors(WP_Error)
A WP_Error object containing any errors generated by using invalid credentials.

Notes

  • Since 4.4.0 Added the $errors parameter.

Where the hook is called

retrieve_password()
WC_Shortcode_My_Account::retrieve_password()
wp-login.php 333
do_action( 'lostpassword_post', $errors );

Where the hook is used (in WP core)

Does not used.