I have a WP-Query which I pass post IDs to via
'post__in' => explode(',', $my_ids)
I then want the ability to refine this list by a custom field value (if present).
I have tried including the custom field test in the args for WP-Query but I get my ID list PLUS the custom field post IDs (instead of my IDs filtered by the custom field value).
I also tried adding a query_post after the WP-Query as a filter but that didnt work at all.
How can I filter the query further?