twentyseventeen_custom_colors_css

过滤钩子


apply_filters( 'twentyseventeen_custom_colors_css', $css, $hue, $saturation )
参数
  • (string)
    $css
    Base theme colors CSS.
    Required:
  • (int)
    $hue
    The user’s selected color hue.
    Required:
  • (string)
    $saturation
    Filtered theme color saturation level.
    Required:
定义位置
  • wp-content/themes/twentyseventeen/inc/color-patterns.php , line 579
引入
Twenty Seventeen 1.0
弃用

Filters Twenty Seventeen custom colors CSS.

return apply_filters( 'twentyseventeen_custom_colors_css', $css, $hue, $saturation );