How can I find out what an `apply_filter` call is actually doing?
Here is a snippet, similar to the above which prints out the hooked functions for all (or a specified) hook, every time it is called. The advantage is that this will capture (more, not all) ‘dynamically’ added hooks. In particular it will display only functions currently hooked onto that hook at the time of calling. … Read more