Marks an addon as disabled. The addon will remain active until the player logs out and back in or reloads the UI (see
ReloadUI()). Changes to the enabled/disabled state of addons while in-game are saved on a per-character basis.
See also Addon-related functions.
name- Name of an addon (name of the addon's folder and TOC file, not the Title found in the TOC) (
index- Index of an addon in the addon list (between 1 and
character- The name of the character (without realm) whose setting to modify. Pass nil to apply to all characters on the current realm ('All' setting in default UI). (