Skip to content

Call Tag

Tag API

Invokes a registered ElvUI tag method directly.

NamespaceEModuleTagsLifecyclestable
E:CallTag(tag, ...)

Invokes a registered ElvUI tag method directly.

  • tag: Registered tag token.
  • …: Arguments passed to the tag function.

Return value from the tag function, or nil when not registered.

local preview = E:CallTag("name:short", "target")

Useful for addon previews or configuration UIs that need sample tag output.

Source: ElvUI/Game/Shared/Tags/API.lua:119