You are here

public function sweaver_plugin_themeswitch::sweaver_init in Sweaver 6

Init

Overrides sweaver_plugin::sweaver_init

File

plugins/sweaver_plugin_themeswitch/sweaver_plugin_themeswitch.inc, line 31
Themeswitch plugin.

Class

sweaver_plugin_themeswitch
@file Themeswitch plugin.

Code

public function sweaver_init() {
  global $custom_theme;
  $custom_theme = Sweaver::get_instance()
    ->get_theme_key();
}