do_action( 'lost_password', WP_Error $errors )
- Since
- 1.5.1, 5.1.0
Fires before the lost password form.
Compatibility
- WordPress
- since 5.1.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Parameters
$errorsWP_Error- A
WP_Errorobject containing any errors generated by using invalid credentials. Note that the error object may not contain any errors.
Where this hook fires · 1
wp-login.php:869file scope
Changelog
Introduced in 1.5.1. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
5.1.0
Added the
$errors parameter.from the docblock1.5.1
Introduced.from the docblock
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.