How to display SQL query that ran in query?
I have come across a function before that displayed the exact SQL code that was used. In a loop for example, but can’t remember. Can anybody tell me that function? Hi @Keith Donegan: If I understand your question correctly I think this is what you are looking for? <?php echo $GLOBALS[‘wp_query’]->request; ?> $wp_query is a … Read more