I need to loop through the last 3 posts
movie, but only those which have a content not empty.
I used to do as follow when I used the ACF editor instead of the native one.
movie-contentrefers to the the slug of my WYSIWYG field.
$args = array( 'posts_per_page' => 3, 'post_type' => 'movie', 'meta_query' => array( array( 'key' => 'movie-content', // ACF editor field name 'value' => '', 'compare' => '!=' ) ) );
Is there any way to do that with the native editor? I'd like to make the conditional test in the request rather than in the loop.