twentysixteen_custom_background_args

過濾鉤子
引數
  • (array) $args { An array of custom-background support arguments. @type string $default-color Default color of the background. }
    Required:
    Default:
定義位置
  • wp-content/themes/twentysixteen/inc/customizer.php , line 35
相關勾子
twentyfifteen_custom_background_argstwentyfourteen_custom_background_argstwentysixteen_custom_header_argstwentyfifteen_custom_header_argstwentyseventeen_custom_header_args
相關方法
_custom_background_cbremove_custom_backgroundadd_custom_backgroundget_background_image_custom_header_background_just_in_timeget_background_color
引入
Twenty Sixteen 1.0
棄用
-

twentysixteen_custom_background_args – 該函式用於指定Twenty Sixteen主題中自定義背景功能的引數: 該函式返回一個引數陣列,用於自定義主題中的背景圖片或顏色的外觀。

過濾在Twenty Sixteen中新增’自定義背景’支援時使用的引數。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
apply_filters(
apply_filters(
apply_filters(

常見問題

FAQs
檢視更多 >