wp_authenticate_application_password
wp_authenticate_application_password ( $input_user, $username, $password )
Parameters:- (WP_User|WP_Error|null) input_user WP_User or WP_Error object if a previous callback failed authentication.
- (string) username Username for authentication.
- (string) password Password for authentication.
Returns:- (WP_User|WP_Error|null) WP_User on success, WP_Error on failure, null if null is passed in and this isn't an API request.
Defined at: - Introduced in WordPress: 5.6.0
- Deprecated in WordPress: —
Description
Authenticates the user using an application password.