Description
Filters whether the given user can be authenticated with the provided password.
Occurrences
Filename | Line Number |
---|---|
wp-includes/user.php | 198 |
wp-includes/user.php | 269 |
Parameters
Type | Name | Description |
---|---|---|
WP_User|WP_Error | $user | WP_User or WP_Error object if a previous callback failed authentication. |
string | $password | Password to check against the user. |
PHP Doc
/**
* Filters whether the given user can be authenticated with the provided password.
*
* @since 2.5.0
*
* @param WP_User|WP_Error $user WP_User or WP_Error object if a previous
* callback failed authentication.
* @param string $password Password to check against the user.
*/