wpseek.com
A WordPress-centric search engine for devs and theme authors



check_password › WordPress Filter Hooks

Since2.5.0
Deprecatedn/a
apply_filters( 'check_password', $check, $password, $hash, $user_id )
Parameters: (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
Defined at:
Codex:

Filters whether the plaintext password matches the encrypted password.





Source

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