Frontend Tips Episode 10

WP REST API - Custom Endpoints

In this video we are going to learn how to quickly create custom endpoints for your 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.

Wanna ask a question about video?

Like This Video?

Support it by sharing it ;)

© Watch And Learn,2024