Definition:
function wp( $query_vars = '' ) {}
Set up the WordPress query.
Parameters
- string $query_vars: Default WP_Query arguments.
Source code
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;
}
3363

February 12, 2011 


No comments yet... Be the first to leave a reply!