lostpassword_user_data WordPress Filter Hook
The lostpassword_user_data Wordpress hook is used to retrieve a user's data when they have forgotten their password. This hook is called when the user submits the lost password form.
apply_filters( 'lostpassword_user_data', WP_User|false $user_data , WP_Error $errors ) #
Filters the user data during a password reset request.
Description
Allows, for example, custom validation using data other than username or email address.
Parameters
Source
File: wp-includes/user.php
Changelog
Version | Description |
---|---|
5.7.0 | Introduced. |