API EnableAddOn

From Wowpedia
Jump to: navigation, search

Enable an AddOn for subsequent sessions.

EnableAddOn(index or "name")

Parameters

Arguments

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

Returns

nil

Notes

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