WordPress开发者和主题制作者的搜索引擎



twentynineteen_custom_colors_css ›

SinceTwenty Nineteen 1.0
已弃用n/a
apply_filters( 'twentynineteen_custom_colors_css', $theme_css, $primary_color, $saturation )
参数: (3)
  • (string) $css Base theme colors CSS.
    Required: Yes
  • (int) $primary_color The user's selected color hue.
    Required: Yes
  • (string) $saturation Filtered theme color saturation level.
    Required: Yes
定义在:
文档:

Filters Twenty Nineteen custom colors CSS.





源码

return apply_filters( 'twentynineteen_custom_colors_css', $theme_css, $primary_color, $saturation );