Action & Filter Hook Load Order

There are lots of great resources out there, which list and detail WordPress’ multitude action and filter hooks. But not many which detail the order in which they’re called. This is probably because the decision tree gets complex as you traverse the load order — what kind of page is being requested … is it in the admin backend … and so on.

I thought it would be useful to list all hooks, in order, which are called when certain activities are performed. For instance, when an anonymous user visits a category archive. All the hundreds of hooks are listed, from the first request to the final ‘shutdown’ action whereupon the content is displayed in the browser.

I generated these lists using a fairly clean install of WordPress 4.1, without a lot of plugins or mods. Your details may differ from these.

Incidentally, you can check the contents of the global $wp_filter variable to view info about all current hooks.