Make WordPress Core


Ignore:
Timestamp:
10/20/2016 08:33:38 PM (8 years ago)
Author:
davidakennedy
Message:

Twenty Fifteen, Twenty Seventeen: Add documentation to filters in themes.

Documents a missing one Twenty Fifteen and all four missing ones in Twenty Seventeen.

Props brainstormforce.

Fixes #38382.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfifteen/functions.php

    r38093 r38846  
    119119
    120120    // Setup the WordPress core custom background feature.
     121
     122    /**
     123     * Filter Twenty Fifteen custom-header support arguments.
     124     *
     125     * @since Twenty Fifteen 1.0
     126     *
     127     * @param array $args {
     128     *     An array of custom-header support arguments.
     129     *
     130     *     @type string $default-color          Default color of the header.
     131     *     @type string $default-attachment     Default attachment of the header.
     132     * }
     133     */
    121134    add_theme_support( 'custom-background', apply_filters( 'twentyfifteen_custom_background_args', array(
    122135        'default-color'      => $default_color,
Note: See TracChangeset for help on using the changeset viewer.