Extending the WordPress REST API

Speaker: Jonathan Bossenger

The WordPress REST API provides an interface for fetching, adding, updating, and deleting data from a WordPress site in a uniform way.

While the schema for the data types that are available in the REST API is quite extensive, there may be times when you need to store additional data that is not part of the core schema.

In this lesson, you will learn about two methods of adding fields to your REST API requests, either by enabling custom fields in the REST API route, or by making custom fields available as top-level fields.

Comments

Leave a Reply

Video details

Published

April 7, 2024

Speakers

Jonathan Bossenger 112

Language

English 791

Producer

psykro


Discover more from WordPress.TV

Subscribe now to keep reading and get access to the full archive.

Continue reading