Filters the randomly-generated password.
$password, $length, $special_chars, $extra_special_chars
Sortie :
@param string $password The generated password. @param int $length The length of password to generate. @param bool $special_chars Whether to include standard special characters. @param bool $extra_special_chars Whether to include other special characters.
// Modifier la valeur avec le filtre 'random_password'
add_filter('random_password', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($password) {
// Modifier la valeur
return $password;
}
Chargement des actualités...