Checks the post excerpt and prepare it for single post output.
WP_REST_Revisions_Controller::get_collection_params
Retrieves the query params for collections.
WP_REST_Revisions_Controller::get_item_schema
Retrieves the revision’s schema, conforming to JSON Schema.
WP_REST_Revisions_Controller::prepare_date_response
Checks the post_date_gmt or modified_gmt and prepare any post or modified date for single post output.
Advertisement
rest_prepare_revision
Filters a revision returned from the API.
WP_REST_Revisions_Controller::prepare_item_for_response
Prepares the revision for the REST response.
WP_REST_Revisions_Controller::prepare_items_query
Determines the allowed query_vars for a get_items() response and prepares them for WP_Query.
rest_delete_revision
Fires after a revision is deleted via the REST API.
Advertisement
WP_REST_Revisions_Controller::delete_item
Deletes a single revision.
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
Retrieves one revision from the collection.
rest_revision_query
This filter is documented in wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
Advertisement
WP_REST_Revisions_Controller::get_item_permissions_check
Checks if a given request has access to get a specific revision.
WP_REST_Revisions_Controller::get_items
Gets a collection of revisions.
WP_REST_Revisions_Controller::get_revision
Get the revision, if the ID is valid.