最近更新的页面
Block Patterns
Schema The schema defines all the fields that exist within a block pattern record. Any response f...
Block Pattern Categories
Schema The schema defines all the fields that exist within a block pattern category record. Any r...
Block Directory Items
Schema The schema defines all the fields that exist within a block directory item record. Any res...
Application Passwords
Schema The schema defines all the fields that exist within a application password record. Any res...
Reference
The WordPress REST API is organized around REST, and is designed to have predictable, resource-or...
Key Concepts
In this page we'll break down some of the key concepts and terms associated with the REST API: Ro...
REST API Handbook
The WordPress REST API provides an interface for applications to interact with your WordPress sit...
Glossary
New to REST APIs? Get up to speed with phrases used throughout our documentation. Controller Mode...
Frequently Asked Questions
This page provides solutions to some common questions and problems that may arise while using the...
Schema
Overview A schema is metadata that tells us how our data is structured. Most databases implement ...
Routes and Endpoints
Overview The REST API provides us a way to match URIs to various resources in our WordPress insta...
Modifying Responses
The default endpoints of the WordPress REST API are designed to return data by default that provi...
Controller Classes
Overview To register a new REST route, you must specify a number of callback functions to control...
Adding REST API Support For Custom Content Types
The REST API can create routes for custom post types and custom taxonomies inside of the wp/v2 n...
Adding Custom Endpoints
The WordPress REST API is more than just a set of default routes. It is also a tool for creating ...
Extending the REST API
Guides Modifying responses: add fields to REST API response objects using register_meta or regi...
Changelog
This document details changes to the WP REST API since its public release in version 4.7.0. Versi...
{{ plural | title }}
{{ include('reference-parts/schema.html') }} {%- for route in routes -%} {%- for endpoint in r...
API Docs
This repo contains the source for documentation for the API on developer.wordpress.org (DevHub). ...
Pagination
WordPress sites can have a lot of content—far more than you'd want to pull down in a single reque...