Filters whether the password hash needs to be rehashed.
Parameters
$needs_rehash
bool- Whether the password hash needs to be rehashed.
$hash
string- The password hash.
$user_id
string|int- ID of a user associated with the password.
Source
return apply_filters( 'password_needs_rehash', $needs_rehash, $hash, $user_id );
Changelog
Version | Description |
---|---|
6.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.