Disable an AddOn for subsequent sessions.
DisableAddOn(index or "name"[, "character"])
- Integer - The index of the AddOn to disable in the user's AddOn list, from 1 to GetNumAddOns().
- String - The filename (not title) of the AddOn to be disabled.
- String - The name of the character (without realm) for whom to disable the addon. Defaults to the current character.
- Takes effect only after reloading the UI - ReloadUI().
- Passing true as the second argument will disable the addon for all characters on the realm.