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



password_needs_rehash › WordPress Filter Hooks

Since6.8.0
Deprecatedn/a
apply_filters( 'password_needs_rehash', $needs_rehash, $hash, $user_id )
Parameters: (3)
  • (bool) $needs_rehash Whether the password hash needs to be rehashed.
    Required: Yes
  • (string) $hash The password hash.
    Required: Yes
  • (string|int) $user_id Optional. ID of a user associated with the password.
    Required: Yes
Defined at:
Codex:

Filters whether the password hash needs to be rehashed.





Source

return apply_filters( 'password_needs_rehash', $needs_rehash, $hash, $user_id );