Created
May 1, 2020 05:02
-
-
Save Daniel-Walsh/0c47593fb36ff6d23f92cdbeac7ee096 to your computer and use it in GitHub Desktop.
Dump the query vars of the current page #wordpress #php
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; | |
var_dump( $wp_query->query_vars ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment