Filters the user data during a password reset request.
Allows, for example, custom validation using data other than username or email address.
$user_data = apply_filters( 'lostpassword_user_data', $user_data, $errors );
| Version | Description |
|---|---|
| 5.7.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/lostpassword_user_data