I am wanting to see the actual SQL that worpress is running to build certain pages, is there a debug method or some other way to outpout this or view it?
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
You can use any one of these filters from /wp-includes/query.php
You can print certain parts of the query to the screen to see what's going on under the hood. For instance, you can add this to your functions file:
|
||||
|
