• About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register
WordPress.org
WordPress.org
  • Plugins
  • Themes
  • Patterns
  • Learn
  • Support
    • Documentation
    • Forums
  • News
  • About
  • Get Involved
    • Five for the Future
  • Showcase
  • Mobile
  • Hosting
  • Openverse
  • Get WordPress
Get WordPress

Code Reference

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

WP_REST_Request::is_json_content_type()

Method: Checks if the request has specified a JSON content-type.

Source: wp-includes/rest-api/class-wp-rest-request.php:333

Used by 2 functions | Uses 2 functions

WP_REST_Request::has_param()

Method: Checks if a parameter exists in the request.

Source: wp-includes/rest-api/class-wp-rest-request.php:419

Used by 0 functions | Uses 1 function

WP_REST_Request::from_url()

Method: Retrieves a WP_REST_Request object from a full URL.

Source: wp-includes/rest-api/class-wp-rest-request.php:1020

Used by 1 function | Uses 7 functions

rest_request_from_url

Filter Hook: Filters the REST API request generated from a URL.

Source: wp-includes/rest-api/class-wp-rest-request.php:1054

Used by 1 function | Uses 0 functions

WP_REST_Request::offsetUnset()

Method: Removes a parameter from the request.

Source: wp-includes/rest-api/class-wp-rest-request.php:1003

Used by 0 functions | Uses 1 function

WP_REST_Request::get_attributes()

Method: Retrieves the attributes for the request.

Source: wp-includes/rest-api/class-wp-rest-request.php:770

Used by 2 functions | Uses 0 functions

WP_REST_Request::set_attributes()

Method: Sets the attributes for the request.

Source: wp-includes/rest-api/class-wp-rest-request.php:781

Used by 1 function | Uses 0 functions

WP_REST_Request::sanitize_params()

Method: Sanitizes (where possible) the params on the request.

Source: wp-includes/rest-api/class-wp-rest-request.php:795

Used by 0 functions | Uses 6 functions

WP_REST_Request::has_valid_params()

Method: Checks whether this request is valid according to its attributes.

Source: wp-includes/rest-api/class-wp-rest-request.php:865

Used by 0 functions | Uses 7 functions

WP_REST_Request::offsetExists()

Method: Checks if a parameter is set.

Source: wp-includes/rest-api/class-wp-rest-request.php:960

Used by 0 functions | Uses 1 function

WP_REST_Request::offsetGet()

Method: Retrieves a parameter from the request.

Source: wp-includes/rest-api/class-wp-rest-request.php:980

Used by 0 functions | Uses 1 function

WP_REST_Request::offsetSet()

Method: Sets a parameter on the request.

Source: wp-includes/rest-api/class-wp-rest-request.php:992

Used by 0 functions | Uses 1 function

WP_REST_Request::parse_body_params()

Method: Parses the request body parameters.

Source: wp-includes/rest-api/class-wp-rest-request.php:713

Used by 1 function | Uses 2 functions

WP_REST_Request::get_route()

Method: Retrieves the route that matched the request.

Source: wp-includes/rest-api/class-wp-rest-request.php:746

Used by 0 functions | Uses 0 functions

WP_REST_Request::set_route()

Method: Sets the route that matched the request.

Source: wp-includes/rest-api/class-wp-rest-request.php:757

Used by 1 function | Uses 0 functions

WP_REST_Request::set_body()

Method: Sets body content.

Source: wp-includes/rest-api/class-wp-rest-request.php:633

Used by 0 functions | Uses 0 functions

WP_REST_Request::get_json_params()

Method: Retrieves the parameters from a JSON-formatted body.

Source: wp-includes/rest-api/class-wp-rest-request.php:649

Used by 0 functions | Uses 1 function

WP_REST_Request::parse_json_params()

Method: Parses the JSON parameters.

Source: wp-includes/rest-api/class-wp-rest-request.php:665

Used by 3 functions | Uses 4 functions

WP_REST_Request::get_body_params()

Method: Retrieves parameters from the body.

Source: wp-includes/rest-api/class-wp-rest-request.php:546

Used by 0 functions | Uses 0 functions

WP_REST_Request::set_body_params()

Method: Sets parameters from the body.

Source: wp-includes/rest-api/class-wp-rest-request.php:559

Used by 0 functions | Uses 0 functions

WP_REST_Request::get_file_params()

Method: Retrieves multipart file parameters from the body.

Source: wp-includes/rest-api/class-wp-rest-request.php:572

Used by 0 functions | Uses 0 functions

WP_REST_Request::set_file_params()

Method: Sets multipart file parameters from the body.

Source: wp-includes/rest-api/class-wp-rest-request.php:585

Used by 0 functions | Uses 0 functions

WP_REST_Request::get_default_params()

Method: Retrieves the default parameters.

Source: wp-includes/rest-api/class-wp-rest-request.php:598

Used by 0 functions | Uses 0 functions

WP_REST_Request::set_default_params()

Method: Sets default parameters.

Source: wp-includes/rest-api/class-wp-rest-request.php:611

Used by 0 functions | Uses 0 functions

WP_REST_Request::get_body()

Method: Retrieves the request body content.

Source: wp-includes/rest-api/class-wp-rest-request.php:622

Used by 3 functions | Uses 0 functions

WP_REST_Request::set_query_params()

Method: Sets parameters from the query string.

Source: wp-includes/rest-api/class-wp-rest-request.php:533

Used by 0 functions | Uses 0 functions

rest_request_parameter_order

Filter Hook: Filters the parameter priority order for a REST API request.

Source: wp-includes/rest-api/class-wp-rest-request.php:384

Used by 1 function | Uses 0 functions

WP_REST_Request::get_param()

Method: Retrieves a parameter from the request.

Source: wp-includes/rest-api/class-wp-rest-request.php:395

Used by 2 functions | Uses 1 function

WP_REST_Request::set_param()

Method: Sets a parameter on the request.

Source: wp-includes/rest-api/class-wp-rest-request.php:443

Used by 1 function | Uses 1 function

WP_REST_Request::get_params()

Method: Retrieves merged parameters from the request.

Source: wp-includes/rest-api/class-wp-rest-request.php:469

Used by 0 functions | Uses 1 function
1 2 Next »
  • About
  • News
  • Hosting
  • Donate
  • Support
  • 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
Code is Poetry