public function configTheme($key = null, $default = null)
    {
        if (!isset($key)) {
            return $this->theme_settings;
        }

        $value = gplcart_array_get($this->theme_settings, $key);
        return isset($value) ? $value : $default;
    }
public function configTheme($key = null, $default = null)
    {
        if (!isset($key)) {
            return $this->theme_settings;
        }

        $value = gplcart_array_get($this->theme_settings, $key);
        return isset($value) ? $value : $default;
    }
public function configTheme ( $ key = null , $ default = null ) { if ( ! isset ( $ key ) ) { return $ this -> theme_settings ; } $ value = gplcart_array_get ( $ this -> theme_settings , $ key ) ; return isset ( $ value ) ? $ value : $ default ; }
Returns a setting from the current theme settings
@param mixed $key
@param mixed $default
@return mixed
Returns a setting from the current theme settings