twentynineteen_custom_colors_saturation

過濾鉤子
apply_filters( 'twentynineteen_custom_colors_saturation', 100 )
引數
  • (int) $saturation Color saturation level.
    Required:
定義位置
  • wp-content/themes/twentynineteen/inc/color-patterns.php , line 27
相關勾子
twentyseventeen_custom_colors_saturationtwentynineteen_custom_colors_saturation_selectiontwentynineteen_custom_colors_csstwentynineteen_custom_colors_lightnesstwentynineteen_custom_colors_lightness_selection
相關方法
_wp_customize_loader_settingswp_register_custom_classname_supportwp_get_custom_css
引入
Twenty Nineteen 1.0
棄用
-

twentynineteen_custom_colors_saturation: 這是一個過濾器鉤子,允許開發者改變Twenty Nineteen主題中自定義顏色的飽和度(強度)。

過濾Twenty Nineteen預設的飽和度水平。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$saturation = apply_filters( 'twentynineteen_custom_colors_saturation', 100 );
$saturation = apply_filters( 'twentynineteen_custom_colors_saturation', 100 );
$saturation = apply_filters( 'twentynineteen_custom_colors_saturation', 100 );

常見問題

FAQs
檢視更多 >