@package: REST_API
-
Extracts headers from a PHP-style $_SERVER array.
-
classWP_REST_Response
Core class used to implement a REST response object.
-
Adds a link to the response.
-
Removes a link from the response.
-
Adds multiple links to the response.
-
Retrieves links for the response.
Used by 0 functions | Uses 0 functions | Source: wp-includes/rest-api/class-wp-rest-response.php:131 -
Sets a single link header.
Used by 0 functions | Uses 0 functions | Source: wp-includes/rest-api/class-wp-rest-response.php:150 -
Sends an HTTP header.
-
Sends multiple HTTP headers.
-
Retrieves the raw request entity (body).
-
Retrieves the publicly-visible data for routes.
-
Filters the publicly-visible data for a single REST API route.
-
hookrest_route_data
Filters the publicly-visible data for REST API routes.
-
Retrieves publicly-visible data for the route.
-
Sends an HTTP status code.
-
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:1359 -
hookrest_index
Filters the REST API root index data.
-
Retrieves the index for a namespace.
-
Filters the REST API namespace index data.
-
Matches the request to a callback and call it.
-
Filters the pre-calculated result of a REST API dispatch request.
-
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.
-
Retrieves specified options for a route.