WP_User_Query::fill_Query_vars(字符串|数组 $个参数 ):阵列

使用默认值填充缺少的查询变量。

参数

$个参数一串|阵列必修的
传递给的查询变量WP_用户_查询.

返回

阵列用默认值填充未定义的查询变量。

来源

公共静态函数fill_query_vars($args){$defaults=数组(“博客id”=>获取当前日志id(),“角色”=>“”,“role_in'=>数组(),“role__not_in”=>数组(),“能力”=>“”,“capability__in”=>数组(),“capability__not_in”=>数组(),“meta_key”=>“”,'meta_value'=>'',“meta_compare”=>“”,“include”=>数组(),“exclude”=>数组(),“搜索”=>“”,“search_columns”=>数组(),“orderby”=>“登录”,“订单”=>“ASC”,'偏移'=>'','数字'=>'',“paged”=>1,“count_total”=>真,“字段”=>“全部”,“谁”=>“”,“has_published_posts”=>空,“nicename”=>“”,“nicename__in”=>数组(),“nicename__not_in”=>数组(),'登录名'=>'','login_in'=>数组(),“login_not_in”=>数组(),“cache_results”=>true,);return wp_parse_args($args,$defaults);}

变更日志

版本描述
4.4.0介绍。

用户贡献的笔记

你必须登录在能够发表注释或反馈之前。