WordPress.org

  • Showcase
  • Themes
  • Plugins
  • Mobile
  • Support
    • Documentation
    • Forums
  • Get Involved
  • About
  • Blog
  • Hosting
  • Get WordPress

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Reference / wp-includes/rest-api.php

rest_preload_api_request()

Function: Append result of internal request to REST API for purpose of preloading data to be attached to a page.

Source: wp-includes/rest-api.php:1348

Used by 0 functions | Uses 4 functions

wp_rest_search_handlers

Filter Hook: Filters the search handlers to use in the REST search controller.

Source: wp-includes/rest-api.php:262

Used by 1 function | Uses 0 functions

rest_filter_response_fields()

Function: Filter the API response to include only a white-listed set of response object fields.

Source: wp-includes/rest-api.php:690

Used by 0 functions | Uses 2 functions

rest_sanitize_value_from_schema()

Function: Sanitize a value based on a schema.

Source: wp-includes/rest-api.php:1266

Used by 5 functions | Uses 5 functions

rest_get_avatar_urls()

Function: Retrieves the avatar urls in various sizes based on a given email address.

Source: wp-includes/rest-api.php:1082

Used by 2 functions | Uses 2 functions

rest_get_avatar_sizes()

Function: Retrieves the pixel sizes for avatars.

Source: wp-includes/rest-api.php:1100

Used by 3 functions | Uses 2 functions

rest_avatar_sizes

Filter Hook: Filters the REST avatar sizes.

Source: wp-includes/rest-api.php:1112

Used by 1 function | Uses 0 functions

rest_validate_value_from_schema()

Function: Validate a value based on a schema.

Source: wp-includes/rest-api.php:1125

Used by 7 functions | Uses 10 functions

rest_is_ip_address()

Function: Determines if an IP address is valid.

Source: wp-includes/rest-api.php:1008

Used by 2 functions | Uses 1 function

rest_sanitize_boolean()

Function: Changes a boolean-like value into the proper boolean value.

Source: wp-includes/rest-api.php:1026

Used by 1 function | Uses 0 functions

rest_is_boolean()

Function: Determines if a given value is boolean-like.

Source: wp-includes/rest-api.php:1047

Used by 1 function | Uses 0 functions

rest_authorization_required_code()

Function: Returns a contextual HTTP error code for authorization failure.

Source: wp-includes/rest-api.php:929

Used by 40 functions | Uses 1 function

rest_validate_request_arg()

Function: Validate a request argument based on details registered to the route.

Source: wp-includes/rest-api.php:943

Used by 4 functions | Uses 1 function

rest_sanitize_request_arg()

Function: Sanitize a request argument based on details registered to the route.

Source: wp-includes/rest-api.php:963

Used by 1 function | Uses 1 function

rest_parse_request_arg()

Function: Parse a request argument based on details registered to the route.

Source: wp-includes/rest-api.php:986

Used by 2 functions | Uses 3 functions

register_rest_field()

Function: Registers a new field on an existing WordPress object type.

Source: wp-includes/rest-api.php:115

Used by 1 function | Uses 1 function

create_initial_rest_routes()

Function: Registers default REST API routes.

Source: wp-includes/rest-api.php:193

Used by 0 functions | Uses 17 functions

rest_get_server()

Function: Retrieves the current REST server instance.

Source: wp-includes/rest-api.php:447

Used by 6 functions | Uses 4 functions

rest_get_date_with_gmt()

Function: Parses a date into both its local and UTC equivalent, in MySQL datetime format.

Source: wp-includes/rest-api.php:895

Used by 2 functions | Uses 3 functions

rest_send_cors_headers()

Function: Sends Cross-Origin Resource Sharing headers with API requests.

Source: wp-includes/rest-api.php:579

Used by 0 functions | Uses 2 functions

rest_handle_options_request()

Function: Handles OPTIONS requests for the server.

Source: wp-includes/rest-api.php:609

Used by 0 functions | Uses 0 functions

rest_send_allow_header()

Function: Sends the “Allow” header to state all methods that can be sent to the current route.

Source: wp-includes/rest-api.php:643

Used by 1 function | Uses 0 functions

rest_output_rsd()

Function: Adds the REST API URL to the WP RSD endpoint.

Source: wp-includes/rest-api.php:729

Used by 0 functions | Uses 2 functions

rest_output_link_wp_head()

Function: Outputs the REST API link tag into page header.

Source: wp-includes/rest-api.php:747

Used by 0 functions | Uses 2 functions

rest_output_link_header()

Function: Sends a Link header for the REST API.

Source: wp-includes/rest-api.php:762

Used by 0 functions | Uses 2 functions

rest_cookie_check_errors()

Function: Checks for errors when using cookie-based authentication.

Source: wp-includes/rest-api.php:792

Used by 0 functions | Uses 7 functions

rest_cookie_collect_status()

Function: Collects cookie authentication status.

Source: wp-includes/rest-api.php:846

Used by 0 functions | Uses 1 function

rest_parse_date()

Function: Parses an RFC3339 time into a Unix timestamp.

Source: wp-includes/rest-api.php:869

Used by 2 functions | Uses 0 functions

rest_handle_deprecated_function()

Function: Handles _deprecated_function() errors.

Source: wp-includes/rest-api.php:532

Used by 0 functions | Uses 1 function

rest_handle_deprecated_argument()

Function: Handles _deprecated_argument() errors.

Source: wp-includes/rest-api.php:556

Used by 0 functions | Uses 1 function
1 2 Next »
  • About
  • Blog
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Showcase
  • Plugins
  • Themes
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
  • @WordPress
  • WordPress

Code is Poetry.

Skip to toolbar
  • About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register