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.

Signature:

DisableAddOn("name") or DisableAddOn(index)

Arguments:

  • name - Name of an addon (name of the addon's folder and TOC file, not the Title found in the TOC) (string)
  • index - Index of an addon in the addon list (between 1 and GetNumAddOns()) (number)