Uses
Uses | Description |
---|---|
wp-includes/rest-api/class-wp-rest-server.php: rest_exposed_cors_headers | Filters the list of response headers that are exposed to CORS requests. |
wp-includes/rest-api/class-wp-rest-server.php: rest_allowed_cors_headers | Filters the list of request headers that are allowed for CORS requests. |
wp-includes/rest-api.php: rest_parse_embed_param() | Parses the “_embed” parameter into the list of resources to embed. |
wp-includes/rest-api/class-wp-rest-server.php: rest_pre_echo_response | Filters the API response. |
wp-includes/rest-api/class-wp-rest-server.php: WP_REST_Server::remove_header() | Removes an HTTP header from the current response. |
wp-includes/functions.php: wp_check_jsonp_callback() | Checks that a JSONP callback is a valid JavaScript callback name. |
wp-includes/plugin.php: apply_filters_deprecated() | Fires functions attached to a deprecated filter hook. |
wp-includes/rest-api.php: get_rest_url() | Retrieves the URL to a REST endpoint on a site. |
wp-includes/rest-api.php: rest_ensure_response() | Ensures a REST response is a response object (for consistency). |
wp-includes/rest-api/class-wp-rest-request.php: WP_REST_Request::__construct() | Constructor. |
wp-includes/rest-api/class-wp-rest-server.php: WP_REST_Server::get_headers() | Extracts headers from a PHP-style $_SERVER array. |
wp-includes/rest-api/class-wp-rest-server.php: WP_REST_Server::send_header() | Sends an HTTP header. |
wp-includes/rest-api/class-wp-rest-server.php: WP_REST_Server::get_raw_data() | Retrieves the raw request entity (body). |
wp-includes/rest-api/class-wp-rest-server.php: WP_REST_Server::send_headers() | Sends multiple HTTP headers. |
wp-includes/rest-api/class-wp-rest-server.php: WP_REST_Server::set_status() | Sends an HTTP status code. |
wp-includes/rest-api/class-wp-rest-server.php: WP_REST_Server::dispatch() | Matches the request to a callback and call it. |
wp-includes/rest-api/class-wp-rest-server.php: WP_REST_Server::get_json_last_error() | Returns if an error occurred during most recent JSON encode/decode. |
wp-includes/rest-api/class-wp-rest-server.php: WP_REST_Server::envelope_response() | Wraps the response in an envelope. |
wp-includes/rest-api/class-wp-rest-server.php: WP_REST_Server::response_to_data() | Converts a response to data to send. |
wp-includes/rest-api/class-wp-rest-server.php: rest_send_nocache_headers | Send nocache headers on authenticated requests. |
wp-includes/rest-api/class-wp-rest-server.php: rest_enabled | Filters whether the REST API is enabled. |
wp-includes/rest-api/class-wp-rest-server.php: rest_jsonp_enabled | Filters whether jsonp is enabled. |
wp-includes/rest-api/class-wp-rest-server.php: rest_post_dispatch | Filters the API response. |
wp-includes/rest-api/class-wp-rest-server.php: rest_pre_serve_request | Filters whether the request has already been served. |
wp-includes/rest-api/class-wp-rest-server.php: WP_REST_Server::json_error() | Retrieves an appropriate error representation in JSON. |
wp-includes/rest-api/class-wp-rest-server.php: WP_REST_Server::check_authentication() | Checks the authentication headers if supplied. |
wp-includes/rest-api/class-wp-rest-server.php: WP_REST_Server::error_to_response() | Converts an error to a response object. |
wp-includes/functions.php: wp_json_encode() | Encode a variable into JSON, with some sanity checks. |
wp-includes/l10n.php: __() | Retrieve the translation of $text. |
wp-includes/formatting.php: wp_unslash() | Remove slashes from a string or array of strings. |
wp-includes/formatting.php: esc_url_raw() | Performs esc_url() for database usage. |
wp-includes/pluggable.php: is_user_logged_in() | Determines whether the current visitor is a logged in user. |
wp-includes/functions.php: wp_get_nocache_headers() | Get the header information to prevent caching. |
wp-includes/plugin.php: apply_filters() | Calls the callback functions that have been added to a filter hook. |
wp-includes/option.php: get_option() | Retrieves an option value based on an option name. |
wp-includes/load.php: is_wp_error() | Check whether variable is a WordPress Error. |
wp-includes/class-wp-error.php: WP_Error::__construct() | Initialize the error. |