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



check_password › WordPress Filter Hooks

Since6.8.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 Optional ID of a user associated with the password. Can be empty.
    Required: Yes
Defined at:
Codex:

Filters whether the plaintext password matches the hashed password.





Source

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