
如何在WordPress中添加PHP代码
apply_filters( 'twentynineteen_custom_colors_saturation', 100 )
twentynineteen_custom_colors_saturation: 这是一个过滤器钩子,允许开发者改变Twenty Nineteen主题中自定义颜色的饱和度(强度)。
过滤Twenty Nineteen默认的饱和度水平。
$saturation = apply_filters( 'twentynineteen_custom_colors_saturation', 100 );