In what location does the global variable $wp_query get setup?
-
I’m trying to do somethings like filter the results in one page based on the category id from the page from which it came. So, I would like to set up a global variable or get access to the current $wp_query global variable before it runs the new one.
Is there a way to do this and where do I have to do it?
Thanks!!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘In what location does the global variable $wp_query get setup?’ is closed to new replies.