apply_filters( ‘check_password’, bool $check, string $password, string $hash, string|int $user_id )

In this article

Filters whether the plaintext password matches the encrypted password.

Parameters

$checkbool
Whether the passwords match.
$passwordstring
The plaintext password.
$hashstring
The hashed password.
$user_idstring|int
User ID. Can be empty.

Source

return apply_filters( 'check_password', $check, $password, $hash, $user_id );

Changelog

VersionDescription
2.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.