REST API and WordPress plugin development

Under this section of our chapter, we will discuss how REST API is going to, or has already, influenced developers that revolve around WordPress, whose livings rely on building plugins, themes, and so on. WordPress, being a massively used content management system, has specific requirements and constantly growing needs given its constant improvement.

The API requirements have to be placed first when thinking development-wise, as the interaction of a plugin as the client is going to rely more on the API and such.

REST API routes are PHP code that has to have a stable and functional code. The real potential of default routes within REST API potentially can be as a repurposed Software as a Service (SAAS) service. ...

Get Learning WordPress REST API now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.