File: wp-includes/rest-api/class-wp-rest-server.php
-
Filters the REST API dispatch request result.
-
Returns if an error occurred during most recent JSON encode/decode.
-
Retrieves the site index.
Used by 0 functions | Uses 10 functions | Source: wp-includes/rest-api/class-wp-rest-server.php:1303 -
hookrest_index
Filters the REST API root index data.
-
Retrieves the index for a namespace.
-
Filters the REST API namespace index data.
-
Retrieves specified options for a route.
-
Wraps the response in an envelope.
-
Filters the enveloped form of a REST API response.
-
Registers a route to the server.
-
Retrieves the route map.
-
hookrest_endpoints
Filters the array of available REST API endpoints.
-
Retrieves namespaces registered on the server.
-
Filters whether the REST API request has already been served.
-
Converts a response to data to send.
-
Retrieves links from a response.
-
Embeds the links from the data into the request.
-
Handles serving a REST API request.
-
Filters whether to send no-cache headers on a REST API request.
-
hookrest_enabled
Filters whether the REST API is enabled.
-
Filters whether JSONP is enabled for the REST API.
-
Filters the REST API response.
-
classWP_REST_Server
Core class used to implement the WordPress REST API server.
-
Instantiates the REST server.
-
Checks the authentication headers if supplied.
-
Filters REST API authentication errors.
-
Converts an error to a response object.
-
Retrieves an appropriate error representation in JSON.