WP JSON API – A Deep Code Dive Into How To Extend It

Session Description

In this talk, I will show you how to use the WP JSON API to add your own end-point for a custom post type or add/change data being returned.

I will walk you through example code that extends the API and show you how simple it can be and how few lines it takes once you get your head around it.

Learning Outcomes

* expose a custom post type in the API
* view the output of the API
* send date to the API
* save data sent to the API
* return custom data to an API call

User level

The session is aimed at intermediate and advanced developers who wish to add API support to their themes and plugins.

Prerequisites

You should be comfortable reading code and know what a custom post type is if you want to understand this session.

Speaker