我需要向参数传递多个IDpost__in 在args中。这不管用!!!请帮帮我。
foreach ($rows as $obj) {
    $todos .= $obj->ID . ",";
}
$ids = trim(trim($todos), ","); # echo $ids output -------> 613,647
$args = array (
     \'post_type\' => \'professores\',
     \'post__in\'  => array($ids)    <----- Don\'t work
);
 如何做这项工作?
Thanks!