In Django there is a debug toolbar that shows which template files and hooks are called while rendering a page.
Is there any plugin that shows which hooks are called for the current page in WordPress?
In Django there is a debug toolbar that shows which template files and hooks are called while rendering a page.
Is there any plugin that shows which hooks are called for the current page in WordPress?
You must be logged in to post a comment.
There sure is, I talk about some of those options in this Q&A here: Is there a flowchart for wordpress loading sequence?
Here is a very brief summary of what was said,
There is also this plugin Debug Bar Action Hooks (requires Debugbar).
By no means is this list exclusive…
There is also this plug-in: https://github.com/stephenh1988/sh-hook-debug
Built by myself and based on my answer to this question: How can I find out what functions are assigned to actions?)
It adds a search to the admin bar, and allows you to search through all hooks that were used. Clicking that hook, you are presented with a list of functions hooked onto it. If it was called more than once, it has the hooked functions for each instance (as this may vary between calls).