API DisableAddOn

Disable an AddOn for subsequent sessions.

DisableAddOn(index or "name"[, "character"])

Arguments

 * index : Integer - The index of the AddOn to disable in the user's AddOn list, from 1 to GetNumAddOns.

OR


 * name : String - The filename (not title) of the AddOn to be disabled.


 * character : String - The name of the character (without realm) for whom to disable the addon. Defaults to the current character.