Filters whether the password hash needs to be rehashed.
$needs_rehash, $hash, $user_id
Sortie :
@param bool $needs_rehash Whether the password hash needs to be rehashed. @param string $hash The password hash. @param string|int $user_id Optional. ID of a user associated with the password.
// Modifier la valeur avec le filtre 'password_needs_rehash'
add_filter('password_needs_rehash', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($needs_rehash) {
// Modifier la valeur
return $needs_rehash;
}
Chargement des actualités...