Missing Featured Image URL in REST API
-
Im accessing CPT using rest.
My problem is that REST API only shows
featured_media: ‘ID’
and
0._links.wp:featuredmedia[0].href: as another REST API link.The issue is that if you have to query lots of posts, its very slow as you need to loop to each Featured Image REST API to access data.
Is there a chance we can add a thumbnail image link rather than ID in REST?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Missing Featured Image URL in REST API’ is closed to new replies.