wp( string|array $query_vars = '' )
Set up the ClassicPress query.
Parameters
- $query_vars
-
(Optional) Default WP_Query arguments.
Default value: ''
Source
File: wp-includes/functions.php
function wp( $query_vars = '' ) {
global $wp, $wp_query, $wp_the_query;
$wp->main( $query_vars );
if ( !isset($wp_the_query) )
$wp_the_query = $wp_query;
}
Changelog
Version | Description |
---|---|
WP-2.0.0 | Introduced. |