wowpedia
Main Menu


Returns true if insecure interaction with the object is forbidden.

isForbidden = FrameScriptObject:IsForbidden()

Returns

isForbidden
boolean - True if this widget object's methods may only be called from secure execution paths, false otherwise.

Details

Example

/dump StoreFrame:IsForbidden()  -- true
/dump StoreFrame:GetDebugName() -- Error: Attempt to access forbidden object from code tainted by an AddOn

Patch changes

Mists of Pandaria Patch 5.4.0 (2013-09-10): Added.

See also