Filters whether the password hash needs to be rehashed.
Parameters
$needs_rehashbool- Whether the password hash needs to be rehashed.
$hashstring- The password hash.
$user_idstring|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.