I know we can filter posts <strong>with</strong> a featured image by using
in <a href="https://developer.wordpress.org/reference/classes/wp_query/" rel="nofollow noreferrer">
</a>
But how do I get posts <strong>without</strong> featured image?
Code:
'meta_query' => array(
array( 'key' => '_thumbnail_id'),
)
in <a href="https://developer.wordpress.org/reference/classes/wp_query/" rel="nofollow noreferrer">
Code:
WP_Query()
But how do I get posts <strong>without</strong> featured image?