Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/user.php | apply_filters | 3070 | /** * Filters the user data during a password reset request. * * Allows, for example, custom validation using data other than username or email address. * * @since 5.7.0 * * @param WP_User|false $user_data WP_User object if found, false if the user does not exist. * @param WP_Error $errors A WP_Error object containing any errors generated * by using invalid credentials. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
WP_User|false | $user_data | WP_User object if found, false if the user does not exist. |
WP_Error | $errors | A WP_Error object containing any errors generated |