Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Mobile
    • Hosting
    • Openverse ↗︎
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • Developers
    • WordPress.tv ↗︎
  • Community
    • Make WordPress
    • Photo Directory
    • Five for the Future
    • WordCamp ↗︎
    • Meetups ↗︎
    • Job Board ↗︎
  • About
    • About WordPress
    • Showcase
    • Enterprise
    • Gutenberg ↗︎
    • WordPress Swag Store ↗︎
  • Get WordPress
Get WordPress

Developer Resources

Browse: Home / Reference / wp-includes/rest-api.php

rest_get_route_for_post_type_items()

Function: Gets the REST API route for a post type.

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

Used by 7 functions | Uses 2 functions

rest_route_for_post_type_items

Filter Hook: Filters the REST API route for a post type.

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

Used by 1 function | Uses 0 functions

rest_get_route_for_taxonomy_items()

Function: Gets the REST API route for a taxonomy.

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

Used by 5 functions | Uses 2 functions

rest_route_for_taxonomy_items

Filter Hook: Filters the REST API route for a taxonomy.

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

Used by 1 function | Uses 0 functions

rest_convert_error_to_response()

Function: Converts an error to a response object.

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

Used by 3 functions | Uses 0 functions

rest_validate_integer_value_from_schema()

Function: Validates an integer value based on a schema.

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

Used by 1 function | Uses 5 functions

rest_validate_number_value_from_schema()

Function: Validates a number value based on a schema.

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

Used by 2 functions | Uses 2 functions

rest_validate_string_value_from_schema()

Function: Validates a string value based on a schema.

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

Used by 1 function | Uses 5 functions

rest_validate_enum()

Function: Validates that the given value is a member of the JSON Schema “enum”.

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

Used by 1 function | Uses 7 functions

rest_validate_null_value_from_schema()

Function: Validates a null value based on a schema.

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

Used by 1 function | Uses 2 functions

rest_validate_boolean_value_from_schema()

Function: Validates a boolean value based on a schema.

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

Used by 1 function | Uses 3 functions

rest_validate_object_value_from_schema()

Function: Validates an object value based on a schema.

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

Used by 1 function | Uses 9 functions

rest_validate_array_value_from_schema()

Function: Validates an array value based on a schema.

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

Used by 1 function | Uses 9 functions

rest_are_values_equal()

Function: Checks the equality of two values, following JSON Schema semantics.

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

Used by 2 functions | Uses 1 function

rest_get_authenticated_app_password()

Function: Gets the Application Password used for authenticating the request.

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

Used by 1 function | Uses 0 functions

rest_get_endpoint_args_for_schema()

Function: Retrieves an array of endpoint arguments from the item schema and endpoint method.

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

Used by 1 function | Uses 1 function

rest_find_one_matching_schema()

Function: Finds the matching schema among the “oneOf” schemas.

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

Used by 3 functions | Uses 6 functions

rest_get_allowed_schema_keywords()

Function: Get all valid JSON schema properties.

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

Used by 2 functions | Uses 0 functions

rest_validate_json_schema_pattern()

Function: Validates if the JSON Schema pattern matches a value.

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

Used by 2 functions | Uses 0 functions

rest_find_matching_pattern_property_schema()

Function: Finds the schema for a property using the patternProperties keyword.

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

Used by 3 functions | Uses 1 function

rest_format_combining_operation_error()

Function: Formats a combining operation error into a WP_Error object.

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

Used by 1 function | Uses 2 functions

rest_get_combining_operation_error()

Function: Gets the error of combining operation.

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

Used by 2 functions | Uses 4 functions

rest_find_any_matching_schema()

Function: Finds the matching schema among the “anyOf” schemas.

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

Used by 3 functions | Uses 3 functions

rest_add_application_passwords_to_index()

Function: Adds Application Passwords info to the REST API index.

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

Used by 0 functions | Uses 2 functions

rest_application_password_collect_status()

Function: Collects the status of authenticating with an application password.

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

Used by 0 functions | Uses 0 functions

rest_application_password_check_errors()

Function: Checks for errors when using application password-based authentication.

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

Used by 0 functions | Uses 1 function

rest_route_for_term

Filter Hook: Filters the REST API route for a term.

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

Used by 1 function | Uses 0 functions

rest_get_queried_resource_route()

Function: Gets the REST route for the currently queried object.

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

Used by 2 functions | Uses 10 functions

rest_queried_resource_route

Filter Hook: Filters the REST route for the currently queried object.

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

Used by 1 function | Uses 0 functions

rest_get_route_for_post()

Function: Gets the REST API route for a post.

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

Used by 10 functions | Uses 3 functions
1 2 3 4 Next
  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry