Tag: WordPress REST API

Exposing a WordPress function via REST API

The WordPress REST API was released on version 4.7.0 and it makes possible to send and receive data from endpoints (URL) to retrieve, update and create the content of your site. For example, we can get the post content of post ID 1 by sending an HTTP GET request to the endpoint /wp/v2/posts/1: Although WordPress […]