Does anybody know the format for the wp() function? What variables can be passed to it, and what comes back? I can't find any documentation that tells me anything about it.
Thanks
Does anybody know the format for the wp() function? What variables can be passed to it, and what comes back? I can't find any documentation that tells me anything about it.
Thanks
from the /wp-includes/functions.php file:
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;
}
In what context have you seen it used, or are wanting to use it?
This topic has been closed to new replies.