You are here

function themekey_redirect_rule_disable in ThemeKey 7.3

Disables a ThemeKey rule and all children.

Parameters

$id: id of the rule to be ddisabled

File

themekey_redirect/themekey_redirect_build.inc, line 101
The functions in this file are the back end of ThemeKey which should be used only if you configure something, but not when ThemeKey switches themes.

Code

function themekey_redirect_rule_disable($id) {
  themekey_abstract_rule_disable('themekey_redirect_rules', $id);
}