editor_stylesheets

FILTER wp-includes\theme.php (ligne 2283) github
Filters the array of URLs of stylesheets applied to the editor.

Paramètres

Entrée :
$stylesheets
Sortie :
@param string[] $stylesheets Array of URLs of stylesheets to be applied to the editor.

Utilisation

// Modifier la valeur avec le filtre 'editor_stylesheets'
add_filter('editor_stylesheets', 'ma_fonction_filtre', 10, 1);

function ma_fonction_filtre($stylesheets) {
    // Modifier la valeur
    return $stylesheets;
}

Actualités

Chargement des actualités...