@package: REST_API
-
Prepares a post type object for serialization.
Used by 2 functions | Uses 9 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php:182 -
Filters a post type returned from the REST API.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php:290 -
Retrieves the post type’s schema, conforming to JSON Schema.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php:322 -
Retrieves the object type this controller is responsible for managing.
Used by 3 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:552 -
Retrieves an array of endpoint arguments from the item schema for the controller.
Used by 0 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:658 -
Sanitizes the slug value.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:678 -
Core class to access post types via the REST API.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php:17 -
Constructor.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php:24 -
Retrieves the query params for the collections.
Used by 10 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:341 -
Retrieves the magical context param.
Used by 1 function | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:380 -
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 -
Retrieves the item’s schema for display / public consumption purposes.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:321 -
Deletes one item from the collection.
Used by 0 functions | Uses 2 functions | 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 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:236 -
Prepares the item for the REST response.
Used by 0 functions | Uses 2 functions | 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 -
Checks if a given request has access to delete a specific item.
Used by 0 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:202 -
Checks if a given request has access to update a specific item.
Used by 0 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:168 -
Updates one item from the collection.
Used by 0 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:185 -
Retrieves one item from the collection.
Used by 0 functions | Uses 2 functions | 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 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:134 -
Creates one item from the collection.
Used by 0 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:151 -
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:1946 -
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:1973 -
classWP_REST_Controller
Core base controller for managing and interacting with REST API items.
Used by 30 functions | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:16