apply_filters( ‘password_needs_rehash’, bool $needs_rehash, string $hash, string|int $user_id )

In this article

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

VersionDescription
6.8.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.