public static function set_variables()
 {
     if (!isset(self::$built_in_theme_root)) {
         global $Ktai_Style;
         self::$built_in_theme_root = WP_PLUGIN_DIR . '/' . $Ktai_Style->get('plugin_dir') . '/' . self::BUILT_IN_THEMES_DIR . '/';
         self::$built_in_theme_root_uri = $Ktai_Style->get('plugin_url') . self::BUILT_IN_THEMES_DIR . '/';
     }
 }
 private function update_themes()
 {
     $theme_opts = KtaiThemes::$target;
     foreach ($theme_opts as $t) {
         $option = KtaiThemes::OPTION_PREFIX . '_' . $t;
         $value = isset($_POST[$option]) ? stripslashes($_POST[$option]) : NULL;
         KtaiThemes::set_theme($value, $t);
     }
     return;
 }