twentytwenty_svg_icon_color

过滤钩子


apply_filters( 'twentytwenty_svg_icon_color', $color, $icon, $group )
参数
  • (string)
    $color
    The icon color.
    Required:
  • (string)
    $icon
    The icon name.
    Required:
  • (string)
    $group
    The icon group.
    Required:
定义位置
  • wp-content/themes/twentytwenty/classes/class-twentytwenty-svg-icons.php , line 58
引入
Twenty Twenty 1.5
弃用

Filters an SVG icon’s color.

$color = apply_filters( 'twentytwenty_svg_icon_color', $color, $icon, $group );