Fandom

WoWWiki

API setprinthandler

104,753pages on
this wiki
Add New Page
Talk0 Share
WoW API < setprinthandler
Icon-information-22x22This function is implemented by FrameXML in [DEPRECATED http://wowprogramming.com/utils/xmlbrowser/live/RestrictedEnvironment.lua RestrictedEnvironment.lua].

Sets a new print() output handler function.

setprinthandler(func)

Arguments Edit

func 
Function - The function that will be called with all of print(...)'s arguments when print(...) is called. This function is responsible for converting the values into a form it can present to the user.

Details Edit

  • The default print handler, provided by blizzard, converts all arguments to strings, concatenates them separated by a single space character, and prints the resulting string to the default chat frame.

See also Edit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.