ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php
  • Page 2

WP_REST_Revisions_Controller::prepare_date_response()

Method: Checks the post_date_gmt or modified_gmt and prepare any post or modified date for single post output.

Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:654

Used by 1 function | Uses 0 functions

WP_REST_Revisions_Controller::get_item_schema()

Method: Retrieves the revision’s schema, conforming to JSON Schema.

Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:673

Used by 0 functions | Uses 0 functions

WP_REST_Revisions_Controller

Class: Core class used to access revisions via the REST API.

Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:17

Used by 1 function | Uses 1 function

WP_REST_Revisions_Controller::get_collection_params()

Method: Retrieves the query params for collections.

Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:766

Used by 2 functions | Uses 0 functions

WP_REST_Revisions_Controller::__construct()

Method: Constructor.

Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:50

Used by 1 function | Uses 1 function

WP_REST_Revisions_Controller::prepare_excerpt_response()

Method: Checks the post excerpt and prepare it for single post output.

Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:830

Used by 1 function | Uses 2 functions

WP_REST_Revisions_Controller::register_routes()

Method: Registers the routes for revisions based on post types supporting revisions.

Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:70

Used by 0 functions | Uses 1 function

WP_REST_Revisions_Controller::get_parent()

Method: Get the parent post, if the ID is valid.

Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:139

Used by 4 functions | Uses 0 functions

WP_REST_Revisions_Controller::get_items_permissions_check()

Method: Checks if a given request has access to get revisions.

Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:169

Used by 2 functions | Uses 2 functions
« Previous 1 2
ClassicPress Documentation • Made with ClassicPress
Privacy Policy