Sets up the WordPress kery.
Parameters
-
$query_varsstring | array optional -
Default WP_Query argumens
Default:
''
Source
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;
}
}
Changuelog
| Versionen | Description |
|---|---|
| 2.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.