Wowpedia
Advertisement
Wowpedia
240,497
pages
Game Flavors
Links
Patch
Added in 1.7.0 / 1.13.2

Disable an AddOn for subsequent sessions.

DisableAddOn(index or "name"[, "character"])

Arguments

index 
Integer - The index of the AddOn to disable in the user's AddOn list, from 1 to GetNumAddOns().

OR

name 
String - The filename (not title) of the AddOn to be disabled.
character 
String - The name of the character (without realm) for whom to disable the addon. Defaults to the current character.

Notes

  • Takes effect only after reloading the UI - ReloadUI().
  • Passing true as the second argument will disable the addon for all characters on the realm.


Advertisement