How to add WP REST API Custom Endpoints.

preview_player
Показать описание
This video teaches how to add custom end point to the Wordpress REST API. Using this method, user can create custom end point for their website. In this example we create a GET route and return a custom message.
Рекомендации по теме