issecure

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 2.0.1 / 1.13.2

Returns true if the current execution path is secure.

secure = issecure()

Returns

secure
boolean - true if the current path is secure (and able to call protected functions), false otherwise.

Details

  • This function will return false if called from any (insecure) addon code.
  • Certain API functions (and FrameXML functions that check this function's return value) cannot be called from tainted execution paths.