API DisableAddOn

104,552pages on
this wiki
Add New Page
Add New Page Talk0
WoW API < DisableAddOn

Disable an AddOn for subsequent sessions.

DisableAddOn(index or "name")

Parameters Edit

Arguments Edit

(index or "name")
Integer - The index of the AddOn to disable in the user's AddOn list.
String - The name of the AddOn to be disabled.

Returns Edit


Notes Edit

  • The first time an addon is disabled (with this function or the user addon panel) it will be disabled for all characters on that realm. Every subsequent time it will enabled/disabled per character.
  • Takes effect only after reloading the UI - ReloadUI().

Also on Fandom

Random Wiki