从wp multisite network获取所有帖子,并根据“创建者”一词按降序对所有帖子进行排序
$all_blog = get_last_updated();
$countpost = 1;
foreach ($all_blog as $key=>$current_blog) {
if($current_blog[\'blog_id\'] != 1){
switch_to_blog($current_blog[\'blog_id\']);
global $post;
$custom_query_args = array(
\'post_type\' => \'post\',
\'meta_key\' => \'xyz\',
\'meta_value\' => \'yes\',
);
这里我得到了不同子域的排序数组。。但我还是想整理一下