check_password
最后更新于:2021-11-25 23:13:00
apply_filters( ‘check_password’, bool $check, string $password, string $hash, string|int $user_id )
Filters whether the plaintext password matches the encrypted password.
参数
- $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.
源文件
文件: gc-includes/pluggable.php