WP_REST_Revisions_Controller::get_item_permissions_check()
Checks if a given request has access to get a specific revision.
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 a given request has access to get a specific revision.
Retrieves the revision’s schema, conforming to JSON Schema.
Gets a collection of revisions.
Checks if a given request has access to get revisions.
Get the parent post, if the ID is valid.
Get the revision, if the ID is valid.
Checks the post_date_gmt or modified_gmt and prepare any post or modified date for single post output.
Checks the post excerpt and prepare it for single post output.
Prepares the revision for the REST response.
Determines the allowed query_vars for a get_items() response and prepares them for WP_Query.