You are here

function glazed_helper_custom_theme in Glazed Theme Helper 7

Implements hook_custom_theme().

Enable Glazed theme for preview in Glazed theme settings

See also

glazed_helper_admin_paths()

File

./glazed_helper.module, line 55

Code

function glazed_helper_custom_theme() {
  if (arg(0) == 'admin' && arg(1) == 'appearance' && arg(2) == 'settings' && arg(3)) {
    $current_theme = check_plain(arg(3));
    return $current_theme;
  }
}