WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_authenticate_user

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/user.php apply_filters 169 /**
* 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.
*/
wp-includes/user.php apply_filters 240 /**
* Authenticates a user using the email and password.
*
* @since 4.5.0
*
* @param WP_User|WP_Error|null $user WP_User or WP_Error object if a previous
* callback failed authentication.
* @param string $email Email address for authentication.
* @param string $password Password for authentication.
* @return WP_User|WP_Error WP_User on success, WP_Error on failure.
*/

Hook Parameters

Parameter Type Name Description
WP_User|WP_Error $user WP_User or WP_Error object if a previous
string $password Password to check against the user.
WP_User|WP_Error $user WP_User or WP_Error object if a previous
string $password Password to check against the user.