Filters the array of themes allowed on the network.
$allowed_themes
Sortie :
@param string[] $allowed_themes An array of theme stylesheet names.
// Modifier la valeur avec le filtre 'allowed_themes'
add_filter('allowed_themes', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($allowed_themes) {
// Modifier la valeur
return $allowed_themes;
}
Chargement des actualités...