API issecure

From Wowpedia
Jump to: navigation, search

Determines whether 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.