WoW:Hooking functions: Difference between revisions

m
changed category
m (changed category)
Line 121: Line 121:
* 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]]
[[Category:Interface Customization]]
Anonymous user