Get a list of all registered actions

Posted by Prem Tiwari | Updated on

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.

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


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers