ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • Methods
  • Page 280

WP_REST_Response::add_link()

Method: Adds a link to the response.

Source: wp-includes/rest-api/class-wp-rest-response.php:58

Used by 1 function | Uses 0 functions

WP_REST_Response::add_links()

Method: Adds multiple links to the response.

Source: wp-includes/rest-api/class-wp-rest-response.php:111

Used by 0 functions | Uses 1 function

WP_REST_Response::as_error()

Method: Retrieves a WP_Error object from the response.

Source: wp-includes/rest-api/class-wp-rest-response.php:225

Used by 0 functions | Uses 1 function

WP_REST_Response::get_curies()

Method: Retrieves the CURIEs (compact URIs) used for relations.

Source: wp-includes/rest-api/class-wp-rest-response.php:255

Used by 0 functions | Uses 2 functions

WP_REST_Response::get_links()

Method: Retrieves links for the response.

Source: wp-includes/rest-api/class-wp-rest-response.php:131

Used by 0 functions | Uses 0 functions

WP_REST_Response::get_matched_handler()

Method: Retrieves the handler that was used to generate the response.

Source: wp-includes/rest-api/class-wp-rest-response.php:192

Used by 0 functions | Uses 0 functions

WP_REST_Response::get_matched_route()

Method: Retrieves the route that was used.

Source: wp-includes/rest-api/class-wp-rest-response.php:170

Used by 0 functions | Uses 0 functions

WP_REST_Response::is_error()

Method: Checks if the response is an error, i.e. >= 400 response code.

Source: wp-includes/rest-api/class-wp-rest-response.php:214

Used by 1 function | Uses 0 functions

WP_REST_Response::link_header()

Method: Sets a single link header.

Source: wp-includes/rest-api/class-wp-rest-response.php:150

Used by 0 functions | Uses 0 functions

WP_REST_Response::remove_link()

Method: Removes a link from the response.

Source: wp-includes/rest-api/class-wp-rest-response.php:83

Used by 0 functions | Uses 0 functions
« Previous 1 … 279 280 281 … 386 Next »
ClassicPress Documentation • Made with ClassicPress
Privacy Policy