Make WordPress Core

Ticket #34119: 34119.diff

File 34119.diff, 1.4 KB (added by DrewAPicture, 9 years ago)
  • src/wp-content/themes/twentyfifteen/inc/customizer.php

     
    8787 * @return array An associative array of color scheme options.
    8888 */
    8989function twentyfifteen_get_color_schemes() {
     90        /**
     91         * Filter the color schemes registered for use with Twenty Fifteen.
     92         *
     93         * The default schemes include 'default', 'dark', 'yellow', 'pink', 'purple', and 'blue'.
     94         *
     95         * @since Twenty Fifteen 1.0
     96         *
     97         * @param array $schemes {
     98         *     Associative array of color schemes data.
     99         *
     100         *     @type array $slug {
     101         *         Associative array of information for setting up the color scheme.
     102         *
     103         *         @type string $label  Color scheme label.
     104         *         @type array  $colors HEX codes for default colors prepended with a hash symbol ('#').
     105         *                              Colors are defined in the following order: Main background, sidebar
     106         *                              background, box background, main text and link, sidebar text and link,
     107         *                              meta box background.
     108         *     }
     109         * }
     110         */
    90111        return apply_filters( 'twentyfifteen_color_schemes', array(
    91112                'default' => array(
    92113                        'label'  => __( 'Default', 'twentyfifteen' ),