📅  最后修改于: 2022-03-11 14:53:47.686000             🧑  作者: Mango
// Where the authors' ids are "1, 2, 3, 4", etc
get_posts([ 'author__in'=> [1, 2, 3, 4], 'post_type' => 'page', 'numberposts' => -1 ]);
// Original SO answer
query_posts( array( 'author__in'=> array_keys($following) , 'paged' => $paged, ) );