To add featured image to our WP REST API we are going to be using
register_rest_field function that we used in previous episode. Because as you will see, you can get pretty much any data from WordPress to your REST API by using that function.
Code used in this video
Wanna ask a question about video?
Like This Video?
Consider supporting me on Patreon.
...or you can share this video, that also helps ;)