do_action( 'lost_password', WP_Error $errors )
Fires before the lost password form.
Parameters
-
$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.
Source
File: wp-login.php
.
View all references
do_action( 'lost_password', $errors );
Changelog
Version | Description |
---|---|
5.1.0 | Added the $errors parameter. |
1.5.1 | Introduced. |