WP_REST_Controller::get_fields_for_response()
Method: Gets an array of fields to be included on the response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:558
Method: Gets an array of fields to be included on the response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:558
Method: Retrieves the object type this controller is responsible for managing.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:538
Method: Retrieves an array of endpoint arguments from the item schema for the controller.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:628
Method: Sanitizes the slug value.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:648
Method: Retrieves the magical context param.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:379
Method: Adds the values from additional fields to a data object.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:418
Method: Updates the values of additional fields added to a data object.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:448
Method: Adds the schema from additional fields to a schema array.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:481
Method: Retrieves all of the registered additional fields for a given object-type.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:513
Method: Retrieves the item’s schema for display / public consumption purposes.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:320
Method: Retrieves the query params for the collections.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:340
Method: Deletes one item from the collection.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:218
Method: Prepares one item for create or update operation.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:235
Method: Prepares the item for the REST response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:253
Method: Prepares a response for insertion into a collection.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:270
Method: Filters a response based on the context defined in the schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:295
Method: Retrieves the item’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:309
Method: Checks if a given request has access to delete a specific item.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:201
Method: Checks if a given request has access to update a specific item.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:167
Method: Updates one item from the collection.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:184
Method: Retrieves one item from the collection.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:116
Method: Checks if a given request has access to create items.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:133
Method: Creates one item from the collection.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:150
Class: Core base controller for managing and interacting with REST API items.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:15
Method: Registers the routes for the objects of the controller.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:48
Method: Checks if a given request has access to get items.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:65
Method: Retrieves a collection of items.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:82
Method: Checks if a given request has access to get a specific item.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:99