How to filter posts by post format “standard” from wp-json api?
This may not be the best answer but for the time being, I’ve been able to get what I want through querying again via a WP_REST_Request using the results I’ve got from the WP_Query mentioned earlier. So the full solution looks like this. function get_blog_posts() { $posts = new WP_Query( array( ‘post_type’ => ‘post’, ‘posts_per_page’ … Read more