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



  

Leave a Reply