WP REST API – Custom Endpoints

In this video we are going to learn how to quickly create custom endpoints for our #WordPress #REST #API.

WordPress default API can sometimes be too much, it can give us more information then we actually need, also it can sometimes be hard to access WordPress media, because WordPress just gives you an ID of the media, and then you have to access another huge endpoint just to get the URL from the image, for example.

Luckily, WordPress comes with built in methods for creating custom end points, so that way you can create your own API, that suits your needs exactly.

### Code used in this video

http://bit.ly/2JhP9Q8

### You can support my work on Patreon

https://patreon.com/watchlearn

### You can support my work on Patreon

https://patreon.com/watchlearn

### Follow me on Social Media

Github: https://github.com/ivandoric
Twitter: https://twitter.com/ivan_doric
Instagram: https://www.instagram.com/ivan_doric/
Facebook: https://facebook.com/watchlearntutorials