I'm trying to use the set()
function, to set $wp_query->query_vars['paged']
.
What's the proper syntax for this funct开发者_如何学Pythonion?
Thanks.
global $wp_query;
$wp_query->set('name','value');
I'm trying to use the set()
function, to set $wp_query->query_vars['paged']
.
What's the proper syntax for this funct开发者_如何学Pythonion?
Thanks.
global $wp_query;
$wp_query->set('name','value');
精彩评论