On this page
apply_filters( 'wp_authenticate_user', WP_User|WP_Error $user, string $password )
Filters whether the given user can be authenticated with the provided password.
Parameters
More Information
This hook should return either a WP_User() object or, if generating an error, a WP_Error() object.
Source
File: wp-includes/user.php. View all references
$user = apply_filters( 'wp_authenticate_user', $user, $password );
Related
Used By
| Used By | Description |
|---|---|
| wp_authenticate_email_password() wp-includes/user.php | Authenticates a user using the email and password. |
| wp_authenticate_username_password() wp-includes/user.php | Authenticates a user, confirming the username and password are valid. |
Changelog
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_authenticate_user