Parses an RFC3339 time into a Unix timestamp.
rest_cookie_collect_status
Collects cookie authentication status.
rest_output_link_header
Sends a Link header for the REST API.
rest_cookie_check_errors
Checks for errors when using cookie-based authentication.
Advertisement
rest_output_link_wp_head
Outputs the REST API link tag into page header.
rest_output_rsd
Adds the REST API URL to the WP RSD endpoint.
rest_is_field_included
Given an array of fields to include in a response, some of which may be `nested.fields`, determine whether the provided field should be included in the response body.
rest_filter_response_fields
Filter the API response to include only a white-listed set of response object fields.
Advertisement
_rest_array_intersect_key_recursive
Recursively computes the intersection of arrays using keys for comparison.
rest_send_allow_header
Sends the “Allow” header to state all methods that can be sent to the current route.
rest_handle_options_request
Handles OPTIONS requests for the server.
rest_send_cors_headers
Sends Cross-Origin Resource Sharing headers with API requests.
Advertisement
rest_handle_deprecated_argument
Handles _deprecated_argument() errors.
rest_handle_deprecated_function
Handles _deprecated_function() errors.
rest_ensure_response
Ensures a REST response is a response object (for consistency).