Wikia

WoWWiki

API DisableAddOn

Talk0
102,281pages on
this wiki
Revision as of 17:24, January 12, 2009 by Dainyl (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
WoW API < DisableAddOn

Disable an AddOn for subsequent sessions.

DisableAddOn(index or "name")

Parameters Edit

Arguments Edit

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

Returns Edit

nil

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().

Around Wikia's network

Random Wiki