I'm trying to run a
WP_Query() with a bit of a twist.
I need to include two
post_statuses and specifically exclude another.
WP_Query( array( 'post_status' => array( 'publish', 'customstatus' ) ) ); which works, but it seems to also pull in
auto-draft, which I can NOT have.
Is there a way to do like
'post_status' => array( array('publish', 'customstatus'), 'not_in' => 'auto-draft' ))
where I can include two and exclude one explicitly?