twentyfourteen_custom_header_args

过滤钩子


参数
  • (array)
    $args
    {
    An array of custom-header support arguments.

    @type bool $header_text Whether to display custom header text. Default false.
    @type int $width Width in pixels of the custom header image. Default 1260.
    @type int $height Height in pixels of the custom header image. Default 240.
    @type bool $flex_height Whether to allow flexible-height header images. Default true.
    @type string $admin_head_callback Callback function used to style the image displayed in
    the Appearance > Header screen.
    @type string $admin_preview_callback Callback function used to create the custom header markup in
    the Appearance > Header screen.
    }

    Required:
    Default:
定义位置
  • wp-content/themes/twentyfourteen/inc/custom-header.php , line 40
引入
Twenty Fourteen 1.0
弃用

Filters Twenty Fourteen custom-header support arguments.

apply_filters(
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。