February 12, 2011 2:15 am
Definition:
function &query_posts($query) {}
returns:List of posts
function &query_posts($query) {
unset($GLOBALS['wp_query']);
$GLOBALS['wp_query'] = new WP_Query();
return $GLOBALS['wp_query']->query($query);
}
2633
Posted by Thorsten
Categories: /wp-includes/query.php, Documentation, Files, Functions, Functions by letter q
Tags: id0e0cd41f00daed670bc39b0f1ec73f82, query_posts
Mobile Site | Full Site
Get a free blog at WordPress.com Theme: WordPress Mobile Edition by Alex King.