WoW API: EnableAddOn

Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API EnableAddOn to API EnableAddOn without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < EnableAddOn

Enable an AddOn for subsequent sessions.

EnableAddOn(index or "name")

ParametersEdit

ArgumentsEdit

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

ReturnsEdit

nil

NotesEdit

  • Takes effect only after reloading the UI - ReloadUI().