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::__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

WP_REST_Revisions_Controller::get_revision()

Method: Get the revision, if the ID is valid.

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

Used by 3 functions | Uses 0 functions

WP_REST_Revisions_Controller::get_items()

Method: Gets a collection of revisions.

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

Used by 0 functions | Uses 5 functions

WP_REST_Revisions_Controller::get_item_permissions_check()

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

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

Used by 0 functions | Uses 1 function

WP_REST_Revisions_Controller::get_item()

Method: Retrieves one revision from the collection.

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

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