twentysixteen_custom_header_args

过滤钩子
参数
  • (array) $args { An array of custom-header support arguments. @type string $default-text-color Default color of the header text. @type int $width Width in pixels of the custom header image. Default 1200. @type int $height Height in pixels of the custom header image. Default 280. @type bool $flex-height Whether to allow flexible-height header images. Default true. @type callable $wp-head-callback Callback function used to style the header image and text displayed on the blog. }
    Required:
    Default:
定义位置
  • wp-content/themes/twentysixteen/inc/customizer.php , line 61
相关勾子
twentyfifteen_custom_header_argstwentyseventeen_custom_header_argstwentysixteen_custom_header_sizestwentyfourteen_custom_header_argstwentysixteen_custom_background_args
相关方法
get_custom_header_markupthe_custom_header_markupget_custom_headerhas_custom_headerget_post_custom_valuesget_column_headers
引入
Twenty Sixteen 1.0
弃用
-

twentysixteen_custom_header_args – 该函数用于指定Twenty Sixteen主题中自定义标题功能的参数: 该函数返回一个参数数组,这些参数用于自定义主题中的头像或颜色的外观。

过滤在Twenty Sixteen中添加’自定义标题’支持时使用的参数。

apply_filters(

常见问题

FAQs
查看更多 >
闪电侠

(工作日 10:00 - 18:30 为您服务)

2025-12-06 09:33:14

您好,无论是售前、售后、意见建议……均可通过联系工单与我们取得联系。

您也可选择聊天工具与我们即时沟通或点击查看:

您的工单我们已经收到,我们将会尽快跟您联系!
取消
选择聊天工具: