Adding Custom Routes to the WordPress REST API

Most of the discussion around the WordPress REST API has been about querying the default routes. In that sense, we’re treating it as a monolithic API—like the Twitter API, for example….

Source: https://torquemag.io/2015/06/adding-custom-routes-wordpress-rest-api/

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.