You appear to be a bot. Output may be restricted
Description
Retrieves the current Twenty Sixteen color scheme.
Create your own twentysixteen_get_color_scheme() function to override in a child theme.
Usage
$array = twentysixteen_get_color_scheme();
Parameters
Returns
array An associative array of either the current or default color scheme HEX values.
Source
File name: twentysixteen/inc/customizer.php
Lines:
1 to 10 of 10
function twentysixteen_get_color_scheme() { $color_scheme_option = get_theme_mod( 'color_scheme', 'default' ); $color_schemes = twentysixteen_get_color_schemes(); if ( array_key_exists( $color_scheme_option, $color_schemes ) ) { return $color_schemes[ $color_scheme_option ]['colors']; } return $color_schemes['default']['colors']; }