twentynineteen_custom_colors_lightness

过滤钩子


apply_filters( 'twentynineteen_custom_colors_lightness', 33 )
参数
  • (int)
    $lightness
    Color lightness level.
    Required:
定义位置
  • wp-content/themes/twentynineteen/inc/color-patterns.php , line 47
引入
Twenty Nineteen 1.0
弃用

Filters Twenty Nineteen default lightness level.

$lightness = apply_filters( 'twentynineteen_custom_colors_lightness', 33 );