where( 'post__in' , $ids )->get_query()` is * to avoid all the overhead of a query that, probably did run already. * * @since 4.9.5 * * @param array $posts An array of post objects or post IDs the query should return as if fetched. * * @return WP_Query A query object ready to return, and operate, on the posts. */ public function get_query_for_posts( array $posts ); }