do_action( 'lost_password', WP_Error $errors )
Fires before the lost password form.
Parameters
- $errors
-
A
WP_Errorobject containing any errors generated by using invalid credentials. Note that the error object may not contain any errors.
Source
File: wp-login.php
Changelog
| Version | Description |
|---|---|
| 5.1.0 | Added the $errors parameter. |
| 1.5.1 | Introduced. |