I've found the List Hooked Functions method to display all the elements that are contributing to the final render, but I want to see which of those functions is ultimately responsible for rendering a specific piece of output. Ideally, it would work similarly to Magento's Template Hints so the responsible code is listed right next to the resultant output.
I guess I could write a function that hooks into each event and attempts to find the last function in the chain of hooks for that particular component...
Any thoughts appreciated.
Can I assign any post into specific pages?
1:Migrating wordpress 3.0.1 from one server to another
2:WordPress Fatal Error: call to undefined function
echoon their own without notifying anything (activating no hook). How to create feedburner feed for sub-folder?If everything went through a template, you could modify the code this calls the template so it prints the name of the template first, as your Magento case seems to do. But this is not the Wordpress way, so your best attempt may be to replace all calls to
echo __FILE__ . ': ' . __FUNCTION__ .or any thing weird like that..