twenty_twenty_one_svg_icons_{$group}

过滤钩子


apply_filters( "twenty_twenty_one_svg_icons_{$group}", $arr )
参数
  • (array)
    $arr
    Array of icons.
    Required:
定义位置
  • wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-svg-icons.php , line 174
引入
Twenty Twenty-One 1.0
弃用

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”.

$arr = apply_filters( "twenty_twenty_one_svg_icons_{$group}", $arr );