-
$query = new query_posts(); -
$query = new WP_Query(); -
$query = query_posts(); -
$query = get_posts();
Correct Answer:
-
$query = new WP_Query();
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?
$query = new query_posts();$query = new WP_Query();$query = query_posts();$query = get_posts();Correct Answer:
$query = new WP_Query();Latest Updates
No posts found in this category.