lost_password action-hookWP 1.5.1

Fires before the lost password form.


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


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

Where the hook is called

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

Where the hook is used in WordPress

Usage not found.