Are there any negative side effects to setting hooks this way?
#5
An anonymous function will be alright. A global function will be alright as long as you know it will be defined before the registration (i.e. same file, function above registration). All other usages should be considered unsafe and avoided.
Reply
Thanks given by: dusk


Messages In This Thread
RE: Are there any negative side effects to setting hooks this way? - by xoft - 10-23-2017, 11:42 PM



Users browsing this thread: 2 Guest(s)