WP_REST_Response::is_error()
Checks if the response is an error, i.e. >= 400 response code.
Welcome to the WPPaste WordPress Method index. This page contains a an alphabetically sorted list of methods that are available for use in WordPress. Each method has a brief description of what it does and how it can be used. To find out more about a particular method, simply click on the method name.
Checks if the response is an error, i.e. >= 400 response code.
Sets a single link header.
Removes a link from the response.
Sets the handler that was responsible for generating the response.
Sets the route (regex for path) that caused the response.
Constructor.
Deletes a single revision.
Checks if a given request has access to delete a revision.
Retrieves the query params for collections.
Retrieves one revision from the collection.