WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/25/2014 08:56:33 PM (7 years ago)
Author:
iandstewart
Message:

Twenty Fifteen: docs correction and cleanup.

Props DrewAPicture, see #30149.

File:
1 edited

Legend:

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

    r30398 r30569  
    11<?php
    22/**
    3  * Twenty Fifteen Customizer.
     3 * Twenty Fifteen Customizer functionality
    44 *
    55 * @package WordPress
     
    7777/**
    7878 * Register color schemes for Twenty Fifteen.
    79  * Can be filtered with twentyfifteen_color_schemes.
     79 *
     80 * Can be filtered with {@see 'twentyfifteen_color_schemes'}.
    8081 *
    8182 * The order of colors in a colors array:
     
    164165if ( ! function_exists( 'twentyfifteen_get_color_scheme' ) ) :
    165166/**
    166  * Returns an array of either the current or default color scheme hex values.
    167  *
    168  * @since Twenty Fifteen 1.0
    169  *
    170  * @return array
     167 * Get the current Twenty Fifteen color scheme.
     168 *
     169 * @since Twenty Fifteen 1.0
     170 *
     171 * @return array An associative array of either the current or default color scheme hex values.
    171172 */
    172173function twentyfifteen_get_color_scheme() {
     
    188189 * @since Twenty Fifteen 1.0
    189190 *
    190  * @return array
     191 * @return array Array of color schemes.
    191192 */
    192193function twentyfifteen_get_color_scheme_choices() {
     
    209210 *
    210211 * @param string $value Color scheme name value.
    211  *
    212212 * @return string Color scheme name.
    213213 */
     
    227227 *
    228228 * @since Twenty Fifteen 1.0
     229 *
     230 * @see wp_add_inline_style()
    229231 */
    230232function twentyfifteen_color_scheme_css() {
     
    243245/**
    244246 * Binds JS listener to make Customizer color_scheme control.
     247 *
    245248 * Passes color scheme data as colorScheme global.
    246249 *
     
    266269 * Output an Underscore template for generating CSS for the color scheme.
    267270 *
    268  * The template generates the css dynamically for instant display in the Customizer preview,
    269  * and to be saved in a `theme_mod` for display on the front-end.
     271 * The template generates the css dynamically for instant display in the Customizer
     272 * preview, and to be saved in a `theme_mod` for display on the front-end.
    270273 *
    271274 * @since Twenty Fifteen 1.0
Note: See TracChangeset for help on using the changeset viewer.