With the WP API, developers can access the data on a WordPress site—such as users, posts, and categories—programmatically. The result is an expansion of the already limitless field of possibilities where theme and plugin development is concerned.
This course is a first look at the WP API: what it is, how to get it running, how to interact with it, what it can do for us, and what we can do with it. Join Morten Rand-Hendriksen, your guide and WordPress guru, as he walks through the tools and major features (such as routes and endpoints) of the WP API, as well as a short project that shows how this new API will be used in real-world workflows.
- Installing the WP API
- Exploring common routes
- Examining WP API output
- Building plugins with the WP API
- Crafting WP API URL requests
- Creating AJAX functions with the WP API
Skill Level Advanced
- [Voiceover] Hi, and welcome to WordPress REST API: First Look. I'm Morten Rand-Hendriksen, and I'm here to introduce you to the WP-API, a new method for interacting with WordPress that will change the world of WordPress forever. Sounds grandiose? It's actually an understatement. The WP-API is a whole new way for developers to interact with WordPress. And, in the first part of this course, I'll explain what a RESTful API is, how it works, and why it matters. Next, we'll look at how to interact with the WP-API, and I'll give you some examples of routes and endpoints you can use to perform simple actions.
Finally, we'll spend some time building a cool little plug-in that adds some functionality to a WordPress site using the WP-API, and AJAX. The WP-API will revolutionize what WordPress is, and how we work with it. And, as a developer this is the time to get started working with it. I'm here to show you how to get started right, so let's get cracking with WordPress REST API: First Look.