Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: twentyfifteen_color_schemes

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
81  * 4. Main Text and Link Color.
82  * 5. Sidebar Text and Link Color.
83  * 6. Meta Box Background Color.
84  *
85  * @since Twenty Fifteen 1.0
86  *
87  * @return array An associative array of color scheme options.
88  */
89 function twentyfifteen_get_color_schemes() {
90      return apply_filters( 'twentyfifteen_color_schemes', array(
91           'default' => array(
92                'label'  => __( 'Default', 'twentyfifteen' ),
93                'colors' => array(
94                     '#f1f1f1',
95                     '#ffffff',
96                     '#ffffff',
97                     '#333333',
98                     '#333333',
99                     '#f7f7f7',