WordPress开发者和主题制作者的搜索引擎



check_password ›

Since2.5.0
已弃用n/a
apply_filters( 'check_password', $check, $password, $hash, $user_id )
参数: (4)
  • (bool) $check Whether the passwords match.
    Required: Yes
  • (string) $password The plaintext password.
    Required: Yes
  • (string) $hash The hashed password.
    Required: Yes
  • (string|int) $user_id User ID. Can be empty.
    Required: Yes
定义在:
文档:

Filters whether the plaintext password matches the encrypted password.





源码

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