WoW:Hooking functions: Difference between revisions

m
no edit summary
m (changed category)
mNo edit summary
Line 120: Line 120:


* 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: HOWTOs]]
[[Category:Interface Customization]]
Anonymous user