- Timestamp:
- 11/25/2014 08:56:33 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfifteen/inc/customizer.php
r30398 r30569 1 1 <?php 2 2 /** 3 * Twenty Fifteen Customizer .3 * Twenty Fifteen Customizer functionality 4 4 * 5 5 * @package WordPress … … 77 77 /** 78 78 * Register color schemes for Twenty Fifteen. 79 * Can be filtered with twentyfifteen_color_schemes. 79 * 80 * Can be filtered with {@see 'twentyfifteen_color_schemes'}. 80 81 * 81 82 * The order of colors in a colors array: … … 164 165 if ( ! function_exists( 'twentyfifteen_get_color_scheme' ) ) : 165 166 /** 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. 171 172 */ 172 173 function twentyfifteen_get_color_scheme() { … … 188 189 * @since Twenty Fifteen 1.0 189 190 * 190 * @return array 191 * @return array Array of color schemes. 191 192 */ 192 193 function twentyfifteen_get_color_scheme_choices() { … … 209 210 * 210 211 * @param string $value Color scheme name value. 211 *212 212 * @return string Color scheme name. 213 213 */ … … 227 227 * 228 228 * @since Twenty Fifteen 1.0 229 * 230 * @see wp_add_inline_style() 229 231 */ 230 232 function twentyfifteen_color_scheme_css() { … … 243 245 /** 244 246 * Binds JS listener to make Customizer color_scheme control. 247 * 245 248 * Passes color scheme data as colorScheme global. 246 249 * … … 266 269 * Output an Underscore template for generating CSS for the color scheme. 267 270 * 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. 270 273 * 271 274 * @since Twenty Fifteen 1.0
Note: See TracChangeset
for help on using the changeset viewer.