[wp-hackers] Hook trouble

J.D. Grimes jdg at codesymphony.co
Wed Sep 11 15:48:37 UTC 2013


> In my mind, if my function runs at priority 9, adds a restoring function with priority 11 and then that restoring function re-adds the function at priority 10, the original function which I'm trying to restore will not run. However, it does.

If I remember correctly, functions added before the hook has finished running, but after their priority has already run, will be run last. Its odd I know. I think there might be a ticket for that, not sure though.


More information about the wp-hackers mailing list