You appear to be a bot. Output may be restricted
Description
Sanitize the colorscheme.
Usage
twentyseventeen_sanitize_colorscheme( $input );
Parameters
- $input
- ( string ) required – Color scheme.
Returns
void
Source
File name: twentyseventeen/inc/customizer.php
Lines:
1 to 10 of 10
function twentyseventeen_sanitize_colorscheme( $input ) { $valid = array( 'light', 'dark', 'custom' ); if ( in_array( $input, $valid, true ) ) { return $input; } return 'light'; }