lost_password action-hookWP 1.5.1

Fires before the lost password form.

Usage

add_action( 'lost_password', 'wp_kama_lost_password_action' );
function wp_kama_lost_password_action( $errors ){
	// action...
}
$errors(WP_Error)
A WP_Error object containing any errors generated by using invalid credentials. Note that the error object may not contain any errors.

Changelog

Since 1.5.1 Introduced.
Since 5.1.0 Added the $errors parameter.

Where the hook is called

In file: /wp-login.php
lost_password
wp-login.php 818
do_action( 'lost_password', $errors );

Where the hook is used in WordPress

Usage not found.