You could try using ZO_PreHookHandler() that I THINK exists because I THINK I remember hearing someone talking about it in IRC or some other thread...
But I believe that would be a 100% safe way to do what you're wanting UNLESS you absolutely need a post-hook instead...
In a case like that, I'd still prehook and then in the called function, do a zo_callLater(myFunction(myArgs), 25) to make the function fire almost instantly after the handle function. Very hacky, but it works.
|