Created
May 7, 2013 10:41
-
-
Save deepak-rajpal/5531738 to your computer and use it in GitHub Desktop.
WordPress display all wp_query and query variables (post information etc)
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
<?php | |
global $wp_query; | |
echo "<pre>"; | |
var_dump($wp_query->query_vars); | |
var_dump($wp_query); | |
echo "</pre>"; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment