Wordpress - Get a list of all registered actions

Filters and actions are both assigned to hooks. Functions assigned to hooks are stored in global $wp_filter variable. So all you have to do is to print_r it.

print_r($GLOBALS['wp_filter']);

PS. add_action function makes a add_filter call. And the latter does $wp_filter[$tag][$priority][$idx].




NOTE: you can directly add this code in functions.php, and you will see a debug on your site:

add_action('wp', function(){ echo '<pre>';print_r($GLOBALS['wp_filter']); echo '</pre>';exit; } );