On this page
apply_filters( 'check_password', bool $check, string $password, string $hash, string|int $user_id )
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
File: wp-includes/pluggable.php. View all references
return apply_filters( 'check_password', $check, $password, $hash, $user_id );
Related
Used By
| Used By | Description |
|---|---|
| wp_check_password() wp-includes/pluggable.php | Checks the plaintext password against the encrypted Password. |
Changelog
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/check_password