New and updated in 4.7.0
-
Adds the values from additional fields to a data object.
Used by 0 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:419 -
Updates the values of additional fields added to a data object.
Used by 0 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:455 -
Adds the schema from additional fields to a schema array.
Used by 1 function | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:495 -
Retrieves all of the registered additional fields for a given object-type.
Used by 4 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:527 -
Prepares the item for the REST response.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:254 -
Prepares a response for insertion into a collection.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:271 -
Filters a response based on the context defined in the schema.
Used by 0 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:296 -
Retrieves the item’s schema, conforming to JSON Schema.
Used by 6 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:310 -
Deletes one item from the collection.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:219 -
Prepares one item for create or update operation.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:236 -
Checks if a given request has access to delete a specific item.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:202 -
Retrieves one item from the collection.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:117 -
Checks if a given request has access to create items.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:134 -
Creates one item from the collection.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:151 -
Checks if a given request has access to update a specific item.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:168 -
Updates one item from the collection.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:185 -
Checks if a given request has access to get items.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:66 -
Retrieves a collection of items.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:83 -
Checks if a given request has access to get a specific item.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:100 -
Checks if a comment can be edited or deleted.
Used by 2 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1840 -
Checks a comment author email for validity.
Used by 0 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1867 -
classWP_REST_Controller
Core base controller for managing and interacting with REST API items.
Used by 29 functions | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:16 -
Registers the routes for the objects of the controller.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:49 -
Retrieves the comment’s schema, conforming to JSON Schema.
Used by 2 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1382 -
Retrieves the query params for collections.
Used by 2 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1549 -
Filters REST API collection parameters for the comments controller.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1696 -
Sets the comment_status of a given comment object when creating or updating a comment.
Used by 2 functions | Uses 6 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1708 -
Checks if the post can be read.
Used by 4 functions | Uses 6 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1756 -
Checks if the comment can be read.
Used by 2 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1807 -
Filters a comment added via the REST API after it is prepared for insertion into the database.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1372