Core Function
View Source on Trac ↗ wp_authenticate_application_password()
wp_authenticate_application_password( mixed $input_user, mixed $username, mixed $password ) Authenticates the user using an application password.
Parameters 3 required
| Name / Type | Description |
|---|---|
| mixed | (WP_User | WP_Error | null) $input_user WP_User or WP_Error object if a previous callback failed authentication. Required |
| $username string | Username for authentication. Required |
| $password string | Password for authentication. Required |
Return Value
((WP_User)
(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.
Function Information
Since Version
5.6.0
Source File
wp-includes/user.php
Advertisement