Please try this instead:
$args = array(
'post__in' => $post_ids,
);
$posts = get_posts( $args );
Lesson learned: Always check your PHP scripting errors! 😉
Check for example this Codex page on debugging.
Please try this instead:
$args = array(
'post__in' => $post_ids,
);
$posts = get_posts( $args );
Lesson learned: Always check your PHP scripting errors! 😉
Check for example this Codex page on debugging.