List of parameters that can be pass through WP_Query constructor to create a new query object in wordpress

WP_Query – the heart of wordpress is nothing but a class defined to fetch data from DB and make global objects that can be used in wordpress.
To create a new wordpress query object we can pass the parameters accordingly and get the required data. Here is a list of parameters with description in one place which can be passed through the WP_Query constructor.
 

Source: https://gist.github.com/2023628



  

Hi there, I'm a web developer & hobbyist music listener from Odisha, India. I love PHP, MySql, WordPress & Java. Currently I am working at Mindfire Solutions. This is my blog site and intended to serve as a playground for me to play with my opinions, knowledge, ideas that I enjoy the most. I try to put here some good articles which I found as interesting and useful. If you find the articles useful, feel free to use/share it.

Leave a Reply


%d bloggers like this: