Description
Fires when an application password has been successfully checked as valid. This allows for plugins to add additional constraints to prevent an application password from being used.
Occurrences
Filename | Line Number |
---|---|
wp-includes/user.php | 446 |
Parameters
Type | Name | Description |
---|---|---|
WP_Error | $error | The error object. |
WP_User | $user | The user authenticating. |
array | $item | The details about the application password. |
string | $password | The raw supplied password. |
PHP Doc
/**
* Fires when an application password has been successfully checked as valid.
*
* This allows for plugins to add additional constraints to prevent an application password from being used.
*
* @since 5.6.0
*
* @param WP_Error $error The error object.
* @param WP_User $user The user authenticating.
* @param array $item The details about the application password.
* @param string $password The raw supplied password.
*/