twentyfifteen_custom_background_args

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

twentyfifteen_custom_background_args: 這是一個自定義函式,用於設定 Twenty Fifteen 主題的自定義背景功能。它設定了預設值,並允許使用者使用WordPress儀表盤中的外觀>背景頁面來定製他們網站的背景。

過濾Twenty Fifteen自定義背景支援引數。

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

常見問題

FAQs
檢視更多 >