[wp-hackers] Hook locations

Doug Stewart zamoose at gmail.com
Sat Apr 7 12:54:19 UTC 2012

I know I've seen plenty of hook lists in the wild before but I don't
think I've ever seen documentation as to when each of them fires. I'm
interested in figuring out

1) the first hook that produces actual output
2) the last hook that fires in the head
3) the last hook that fires before end-of-rendering

I want to hook into some hooks and output some diagnostic info, but I
don't want to print anything on any hooks that might fire before the
DOCTYPE or after the closing HTML.

Any ideas out there?


More information about the wp-hackers mailing list