Uses
Uses | Description |
---|---|
wp-includes/class-wp.php: WP::build_query_string() | Sets the query string property based off of the query variable property. |
Set up the Loop based on the query variables.
File: wp-includes/class-wp.php
public function query_posts() { global $wp_the_query; $this->build_query_string(); $wp_the_query->query( $this->query_vars ); }
Version | Description |
---|---|
2.0.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp/query_posts