The title says it all really. I’d like to get an idea of the chronology of when the actions are fired and filters called for WordPress, preferably visually although I’m thinking of downloading, altering core to log to a file whenever an action or filter is registered, then again when fired and working with the output of that.
It’d essentially make my life much easier if anyone else has visualised it before.
The Action Reference in Codex has a roughly chronological list of actions called during both front-end and admin requests, though it’s nothing fancier than a simple list.
Filters are a bit trickier, as they primarily handle output, so it’s going to be specific to what theme and plugins you’ve got and what they’re doing during different kinds of requests.
You can log when all actions and filters are invoked without editing core with the all
action:
function wpd_log_all_filters(){
var_dump( current_filter() );
}
add_action( 'all', 'wpd_log_all_filters' );
This will fire for both actions and filters, actions are a simple kind of filter under the hood.