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

$user

WP_User or WP_Error object if a previous callback failed authentication.

$password

Password to check against the user.


Source

File: wp-includes/user.php

View on GitHub



Changelog

Changelog
Version Description
2.5.0 Introduced.