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

Filters whether the plaintext password matches the encrypted password.


Parameters

$check bool
Whether the passwords match.
$password string
The plaintext password.
$hash string
The hashed password.
$user_id string|int
User ID. Can be empty.

Top ↑

Source

File: wp-includes/pluggable.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
2.5.0 Introduced.

Top ↑

User Contributed Notes

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