WP_REST_Revisions_Controller
Methods
1 to 5 of 5
- WP_REST_Revisions_Controller::delete_item_permissions_check() – Checks if a given request has access to delete a revision.
- WP_REST_Revisions_Controller::get_item_schema() – Retrieves the revision’s schema, conforming to JSON Schema.
- WP_REST_Revisions_Controller::get_parent() – Get the parent post, if the ID is valid.
- WP_REST_Revisions_Controller::prepare_item_for_response() – Prepares the revision for the REST response.
- WP_REST_Revisions_Controller::register_routes() – Registers the routes for revisions based on post types supporting revisions.