WP_REST_Revisions_Controller::register_routes()
Registers the routes for revisions based on post types supporting revisions.
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.
Registers the routes for revisions based on post types supporting revisions.
Constructor.
Retrieves the query params for the search results collection.
Retrieves the item schema, conforming to JSON Schema.
Retrieves a collection of search results.
Checks if a given request has access to search content.
Gets the search handler to handle the current request.
Prepares a single search result for response.
Registers the routes for the search controller.
Sanitizes the list of subtypes, to ensure only subtypes of the passed type are included.