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

Developer Resources

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

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

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

Used by 1 function | Uses 6 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:1059

Used by 1 function | Uses 0 functions

WP_REST_Request::offsetUnset()

Method:

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

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

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

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

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

Used by 0 functions | Uses 7 functions

WP_REST_Request::offsetExists()

Method:

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

Used by 0 functions | Uses 1 function

WP_REST_Request::offsetGet()

Method:

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

Used by 0 functions | Uses 1 function

WP_REST_Request::offsetSet()

Method:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Used by 0 functions | Uses 1 function
1 2 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