ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • wp-includes/rest-api/class-wp-rest-response.php
  • Page 2

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::set_matched_handler()

Method: Sets the handler that was responsible for generating the response.

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

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::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
« Previous 1 2
ClassicPress Documentation • Made with ClassicPress
Privacy Policy