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/twentyfifteen/functions.php

    r48103 r48264  
    145145        // Setup the WordPress core custom background feature.
    146146
    147         /**
    148          * Filter Twenty Fifteen custom-header support arguments.
    149          *
    150          * @since Twenty Fifteen 1.0
    151          *
    152          * @param array $args {
    153          *     An array of custom-header support arguments.
    154          *
    155          *     @type string $default-color          Default color of the header.
    156          *     @type string $default-attachment     Default attachment of the header.
    157          * }
    158          */
    159147        add_theme_support(
    160148            'custom-background',
     149            /**
     150             * Filter Twenty Fifteen custom-background support arguments.
     151             *
     152             * @since Twenty Fifteen 1.0
     153             *
     154             * @param array $args {
     155             *     An array of custom-background support arguments.
     156             *
     157             *     @type string $default-color      Default color of the background.
     158             *     @type string $default-attachment Default attachment of the background.
     159             * }
     160             */
    161161            apply_filters(
    162162                'twentyfifteen_custom_background_args',
Note: See TracChangeset for help on using the changeset viewer.