WoW:Hooking functions: Difference between revisions

m
Added category link
No edit summary
 
m (Added category link)
Line 105: Line 105:


* I'm not totally sure about scoping, but it's probably a good idea to uniquely name the variable where you store the old functionality.  I tend to use a Pre_''addon''_''function name'' syntax.  Just don't use something like Old_''function name''
* I'm not totally sure about scoping, but it's probably a good idea to uniquely name the variable where you store the old functionality.  I tend to use a Pre_''addon''_''function name'' syntax.  Just don't use something like Old_''function name''
[[Category:Interface Customization HOWTOs|Hook a Function]]
Anonymous user