original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Returns a setting from the current theme settings
  @param mixed $key
  @param mixed $default
  @return mixed
docstring_tokens: Returns a setting from the current theme settings