WoW:API EnableAddOn: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
 
m (Move page script moved page API EnableAddOn to API EnableAddOn without leaving a redirect)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<center>'''EnableAddOn''' - ''Documentation by [[User:Flickering|Flickering]]''</center>
{{wowapi}}__NOTOC__


Enable an AddOn for subsequent sessions.
Enable an AddOn for subsequent sessions.
Line 11: Line 11:
:;name : String - The name of the AddOn to be enabled.
:;name : String - The name of the AddOn to be enabled.
=== Returns ===
=== Returns ===
:<i>nil</i>
:''nil''


----
==Notes==
__NOTOC__
* Takes effect only after reloading the UI - [[API_ReloadUI|ReloadUI()]].
{{Template:WoW API}}
[[Category:API Functions|EnableAddOn]]
[[Category:API AddOn Functions|EnableAddOn]]

Latest revision as of 04:45, 15 August 2023

WoW API < EnableAddOn

Enable an AddOn for subsequent sessions.

EnableAddOn(index or "name")

Parameters[edit]

Arguments[edit]

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

Returns[edit]

nil

Notes[edit]

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