wordpress / latest / classes / wp / query_posts.html

WP::query_posts()

Set up the Loop based on the query variables.

Source

File: wp-includes/class-wp.php. View all references

public function query_posts() {
	global $wp_the_query;
	$this->build_query_string();
	$wp_the_query->query( $this->query_vars );
}

Uses

Uses Description

Used By

Used By Description

Changelog

Version Description
2.0.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp/query_posts