
@wpdevlife @joe4ska The only other way would be to hook into a filter to modify the SQL directly.
@wpdevlife @joe4ska The only other way would be to hook into a filter to modify the SQL directly.
@wpdevlife @joe4ska You could do 2 queries. The first gets all of the drafts where the post type == the one you just want published posts for. Then use the `post__not_in` operator on the main query to get published and drafts from the two post types. The posts in the `post__not_in` will be excluded.
@kingkool68
WordPress developer at @CoderPad. Formerly of @nclud @spiritedmediaco, @pewresearch, @usnews. I made dummyimage.com and married @naudebynature.