MCQs>IT & Programming>WordPress>WP_Query is the WordPress query class that is used to fetch posts from the database. How would you create a new instance of this class?
WordPress MCQs
WP_Query is the WordPress query class that is used to fetch posts from the database. How would you create a new instance of this class?
Answer
Correct Answer: $query = new WP_Query();
Explanation:
Note: This Question is unanswered, help us to find answer for this one