print_styles_array

FILTER wp-includes\class-wp-styles.php (ligne 412) github
Filters the array of enqueued styles before processing for output.

Paramètres

Entrée :
$this->to_do
Sortie :
@param string[] $to_do The list of enqueued style handles about to be processed.

Utilisation

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

function ma_fonction_filtre($this->to_do) {
    // Modifier la valeur
    return $this->to_do;
}

Actualités

Chargement des actualités...