do_action( ‘lost_password’, WP_Error $errors )

In this article

Fires before the lost password form.

Parameters

$errorsWP_Error
A WP_Error object containing any errors generated by using invalid credentials. Note that the error object may not contain any errors.

Source

do_action( 'lost_password', $errors );

Changelog

VersionDescription
5.1.0Added the $errors parameter.
1.5.1Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.