最近更新的页面
Settings
WordPress provides two core APIs to make the administrative interfaces easy to build, secure, and...
Custom Settings Page
Creating a custom settings page includes the combination of: creating an administration menu, usi...
Securing (escaping) Output
This content has been moved to the Escaping Data page in the Common APIs Handbook.
Securing (sanitizing) Input
This content has been moved to the Sanitizing Data page in the Common APIs Handbook.
Nonces
This content has been moved to the Nonces page in the Common APIs Handbook.
Plugin Security
This content has been moved to the Security page in the Common APIs Handbook. But there is more c...
Data Validation
This content has been moved to the Data Validation page in the Common APIs Handbook.
Checking User Capabilities
If your plugin allows users to submit data—be it on the Admin or the Public side—it should check ...
Schema
Overview Schema is data that tells us how are other data should be structured. Most databases imp...
Routes & Endpoints
The REST API provides a way to match URIs to various resources in our WordPress installation. By ...
REST API Overview
The WordPress REST API brings many new features to WordPress. The REST API uses JSON (JavaScript ...
Responses
Overview Responses in the API are what holds all of the data we want. If we made a mistake in our...
Requests
Overview The REST API is very simple in many ways. There is input, known as the request. The inpu...
REST API
WordPress 4.4 introduced the infrastructure for a REST API. The REST API provides an easy way to...
Controller Classes
Overview When writing endpoints it can be helpful to use a controller class to handle the functio...
index
Suggesting text for the site privacy policy Every plugin that collects, uses, or stores user data...
Privacy Related Options, Hooks and Capabilities
The privacy tools were originally introduced in WordPress 4.9.6. These tools are designed to allo...
Privacy
Are you writing a plugin that handles personal data – things like names, addresses, and other thi...
Adding the Personal Data Exporter to Your Plugin
In WordPress 4.9.6, new tools were added to make compliance easier with laws like the European Un...
Adding the Personal Data Eraser to Your Plugin
In WordPress 4.9.6, new tools were added to make compliance easier with laws like the European Un...