WP::query_posts() In this article Table of ContentsSource Related Changelog ↑ Back to top Set up the Loop based on the query variables. Source public function query_posts() { global $wp_the_query; $this->build_query_string(); $wp_the_query->query( $this->query_vars ); } View all references View on Trac View on GitHub Related UsesDescriptionWP::build_query_string()wp-includes/class-wp.phpSets the query string property based off of the query variable property. Used byDescriptionWP::main()wp-includes/class-wp.phpSets up all of the variables required by the WordPress environment. Changelog VersionDescription2.0.0Introduced. User Contributed Notes You must log in before being able to contribute a note or feedback.
User Contributed Notes
You must log in before being able to contribute a note or feedback.