List all active actions and filters

This is a handy trick when debugging a complex piece of code. It allows you to see all the active actions and filters.

/*list all actions and filters */
global $wp_filter;


print_r($wp_filter);