WP Rest API v2 filter and display latest post with specific tag

I need to display the latest post with a specific tag.

Example: User tags a post ‘featured’, but forgets to untag earlier posts.

So I want to ensure that the latest post tagged ‘featured’ is what displays on other sites.

https://my-site.com/wp-json/wp/v2/tags/&filterbylatestdatesomehow

Is this possible/do-able? Thanks.

Read more here: WP Rest API v2 filter and display latest post with specific tag

Leave a Reply

Your email address will not be published. Required fields are marked *