• About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register

WordPress.org

  • Showcase
  • Learn
  • Themes
  • Plugins
  • Mobile
  • Support
    • Documentation
    • Forums
  • Get Involved
    • Five for the Future
  • About
  • Blog
  • Hosting
  • 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:1012

Used by 1 function | Uses 7 functions

rest_request_from_url

Filter Hook: Filters the request generated from a URL.

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

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:995

Used by 0 functions | Uses 1 function

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 5 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:861

Used by 0 functions | Uses 6 functions

WP_REST_Request::offsetExists()

Method: Checks if a parameter is set.

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

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:972

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:984

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::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::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_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::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_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

WP_REST_Request::get_url_params()

Method: Retrieves parameters from the route itself.

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

Used by 0 functions | Uses 0 functions

WP_REST_Request::set_url_params()

Method: Sets parameters from the route.

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

Used by 0 functions | Uses 0 functions

WP_REST_Request::get_query_params()

Method: Retrieves parameters from the query string.

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

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

Code is Poetry.