lostpassword_user_data

lostpassword_user_data

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('lostpassword_user_data') is found 1 times:

  • /wp-includes/user.php line 3147
    	 * @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.
    	 */
    	$user_data = apply_filters( 'lostpassword_user_data', $user_data, $errors );
    
    	/**
    	 * Fires before errors are returned from a password reset request.
    	 *
    	 * @since 2.1.0
    	 * @since 4.4.0 Added the `$errors` parameter.