lost_password

lost_password

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.2

do_action('lost_password') is found 1 times:

  • /wp-login.php line 830
    		 *
    		 * @param WP_Error $errors A `WP_Error` object containing any errors generated by using invalid
    		 *                         credentials. Note that the error object may not contain any errors.
    		 */
    		do_action( 'lost_password', $errors );
    
    		login_header( __( 'Lost Password' ), '<p class="message">' . __( 'Please enter your username or email address. You will receive an email message with instructions on how to reset your password.' ) . '</p>', $errors );
    
    		$user_login = '';
    
    		if ( isset( $_POST['user_login'] ) && is_string( $_POST['user_login'] ) ) {