WP_REST_Server::register_route()
Registers a route to the server.
Welcome to the WPPaste WordPress Method index. This page contains a an alphabetically sorted list of methods that are available for use in WordPress. Each method has a brief description of what it does and how it can be used. To find out more about a particular method, simply click on the method name.
Registers a route to the server.
Removes an HTTP header from the current response.
Dispatches the request to the callback handler.
Converts a response to data to send.
Sends an HTTP header.
Sends multiple HTTP headers.
Serves the batch/v1 request.
Handles serving a REST API request.
Sends an HTTP status code.
Constructor.