Description
Setup the WordPress query.
Usage
<?php wp( $query_vars ) ?>
Parameters
- $query_vars
- (string) (optional) Default WP_Query arguments.
- Default: ''
Return Values
- (void)
- This function does not return a value.
Examples
Notes
- Uses global: (object) $wp
- Uses global: (object) $wp_query
- Uses global: (object) $wp_the_query
Change Log
Since: 2.0.0
Source File
wp() is located in wp-includes/functions.php
.
Related