v0.13.8

C_AddOns.DisableAddOn

functionimplementedavailable in: camelot

Sets an addon to be disabled.

signaturewowlua
function C_AddOns.DisableAddOn(    name: uiAddon,    character: string)

Parameters

nametypedescription
nameuiAddonThe name of the addon to be disabled, or an index from 1 to C_AddOns.GetNumAddOns. Blizzard addons cannot be disabled.
characterstringThe name or GUID of the character, excluding the realm name. If omitted, disables the addon for all characters. Default: "0".

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (AddOns system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.