The WordPress REST API is a huge initiative and feature plugin being developed for the core WordPress project. But it can be a bit confusing if you don’t know much about it yet. Let’s discuss what this project is, why it’s important, and how to get involved. The WordPress REST API project is the most exciting project for the platform since custom post types were introduced in WordPress 2.9 and 3.0. I really believe that. While the project is under a major rewrite and not yet slated for a specific core release, it can be really confusing to figure out what’s going on. Let’s talk about what the new API is, why it matters, and go over the state of the API to answer some common questions I’ve seen. What is a JSON REST API? Let’s start by defining the acronyms. It may seem tedious for experienced developers, but it’s a good way to get us in the right mindset. API: Application Program Interface APIs have a broad definition. Any program is an API. When you have some form of construct in a programming language — like PHP for example — where the construct makes it possible to perform a programming task, that’s a good way to think of an API. Let’s use custom post types as an example. WordPress
Share This