WoW:API DisableAddOn: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 12: | Line 12: | ||
=== Returns === | === Returns === | ||
:''nil'' | :''nil'' | ||
== Notes == | |||
* Sometimes this function will disable the addon globally and sometimes only for the current character. There doesn't appear to be any pattern to this or any reason behind this. Perhaps the functionality was changed in patch 2.4. |
Revision as of 22:06, 8 May 2008
← WoW API < DisableAddOn
Disable an AddOn for subsequent sessions.
DisableAddOn(index or "name")
Parameters
Arguments
- (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
- nil
Notes
- Sometimes this function will disable the addon globally and sometimes only for the current character. There doesn't appear to be any pattern to this or any reason behind this. Perhaps the functionality was changed in patch 2.4.