Created
July 20, 2012 16:18
-
-
Save tpennock-gist/3151643 to your computer and use it in GitHub Desktop.
Wordpress - Display wp_query SQL query details
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? echo $GLOBALS['wp_query']->request; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Old and useful gist but you shouldn't use the
<?
shortcut tag because it's not always enabled on all servers.