twentytwenty_svg_icons_{$group}

FILTER wp-content\themes\twentytwenty\classes\class-twentytwenty-svg-icons.php (ligne 47) github
Filters Twenty Twenty'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 'twentytwenty_svg_icons_{$group}'
add_filter('twentytwenty_svg_icons_{$group}', 'ma_fonction_filtre', 10, 1);

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

Actualités

Chargement des actualités...