library/Theme/ColorScheme.php
public function storeColorScheme($colors) : bool
    {
        if (!is_array($colors) && !is_object($colors)) {
            $colors = array();
        }

        return update_option($this->optionName, (array) $this->sanitizeColorSheme($colors), false);
    }
public function storeColorScheme($colors) : bool
    {
        if (!is_array($colors) && !is_object($colors)) {
            $colors = array();
        }

        return update_option($this->optionName, (array) $this->sanitizeColorSheme($colors), false);
    }
public function storeColorScheme ( $ colors ) : bool { if ( ! is_array ( $ colors ) && ! is_object ( $ colors ) ) { $ colors = array ( ) ; } return update_option ( $ this -> optionName , ( array ) $ this -> sanitizeColorSheme ( $ colors ) , false ) ; }
Stores the colorsheme details in the database for use by other plugins
@param  string $colors. Contains a flat array of colors HEX to store.
@return bool
Stores the colorsheme details in the database for use by other plugins