Make WordPress Core


Ignore:
Timestamp:
07/01/2020 01:50:28 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Bundled Themes: Correct DocBlock placement for custom header and background argument filters.

See #49572.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyseventeen/inc/custom-header.php

    r47122 r48264  
    1717function twentyseventeen_custom_header_setup() {
    1818
    19     /**
    20      * Filter Twenty Seventeen custom-header support arguments.
    21      *
    22      * @since Twenty Seventeen 1.0
    23      *
    24      * @param array $args {
    25      *     An array of custom-header support arguments.
    26      *
    27      *     @type string $default-image          Default image of the header.
    28      *     @type int    $width                  Width in pixels of the custom header image. Default 954.
    29      *     @type int    $height                 Height in pixels of the custom header image. Default 1300.
    30      *     @type string $flex-height            Flex support for height of header.
    31      *     @type string $video                  Video support for header.
    32      *     @type string $wp-head-callback       Callback function used to styles the header image and text
    33      *                                          displayed on the blog.
    34      * }
    35      */
    3619    add_theme_support(
    3720        'custom-header',
     21        /**
     22         * Filter Twenty Seventeen custom-header support arguments.
     23         *
     24         * @since Twenty Seventeen 1.0
     25         *
     26         * @param array $args {
     27         *     An array of custom-header support arguments.
     28         *
     29         *     @type string $default-image    Default image of the header.
     30         *     @type int    $width            Width in pixels of the custom header image. Default 954.
     31         *     @type int    $height           Height in pixels of the custom header image. Default 1300.
     32         *     @type string $flex-height      Flex support for height of header.
     33         *     @type string $video            Video support for header.
     34         *     @type string $wp-head-callback Callback function used to styles the header image and text
     35         *                                    displayed on the blog.
     36         * }
     37         */
    3838        apply_filters(
    3939            'twentyseventeen_custom_header_args',
Note: See TracChangeset for help on using the changeset viewer.