twentyseventeen_custom_header_args

過濾鉤子
引數
  • (array) $args { An array of custom-header support arguments. @type string $default-image Default image of the header. @type int $width Width in pixels of the custom header image. Default 954. @type int $height Height in pixels of the custom header image. Default 1300. @type string $flex-height Flex support for height of header. @type string $video Video support for header. @type string $wp-head-callback Callback function used to styles the header image and text displayed on the blog. }
    Required:
    Default:
定義位置
  • wp-content/themes/twentyseventeen/inc/custom-header.php , line 38
相關勾子
twentysixteen_custom_header_argstwentyfifteen_custom_header_argstwentyfourteen_custom_header_argstwentysixteen_custom_header_sizestwentyseventeen_custom_colors_css
相關方法
the_custom_header_markupget_custom_header_markupget_custom_headerhas_custom_headerremove_custom_image_headerget_column_headers
引入
Twenty Seventeen 1.0
棄用
-

twentyseventeen_custom_header_args: 這是一個過濾鉤子,允許開發者改變傳遞給Twenty Seventeen主題中的自定義標題功能的引數。

過濾Twenty Seventeen自定義標題支援引數。

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

常見問題

FAQs
檢視更多 >