twenty_twenty_one_svg_icons_{$group}

FILTER wp-content\themes\twentytwentyone\classes\class-twenty-twenty-one-svg-icons.php (ligne 186) github
Filters Twenty Twenty-Ones's array of icons. The dynamic portion of the hook name, `$group`, refers to the name of the group of icons, either "ui" or "social".

Paramètres

Entrée :
$arr
Sortie :
@param array $arr Array of icons.

Utilisation

// Modifier la valeur avec le filtre 'twenty_twenty_one_svg_icons_{$group}'
add_filter('twenty_twenty_one_svg_icons_{$group}', 'ma_fonction_filtre', 10, 1);

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

Actualités

Chargement des actualités...