Retrieves an array of endpoint arguments from the item schema for the controller.
WP_REST_Controller::sanitize_slug
Sanitizes the slug value.
WP_REST_Controller::get_fields_for_response
Gets an array of fields to be included on the response.
WP_REST_Controller::get_object_type
Retrieves the object type this controller is responsible for managing.
Advertisement
WP_REST_Controller::get_additional_fields
Retrieves all of the registered additional fields for a given object-type.
WP_REST_Controller::add_additional_fields_schema
Adds the schema from additional fields to a schema array.
WP_REST_Controller::update_additional_fields_for_object
Updates the values of additional fields added to a data object.
WP_REST_Controller::add_additional_fields_to_object
Adds the values from additional fields to a data object.
Advertisement
WP_REST_Controller::get_context_param
Retrieves the magical context param.
WP_REST_Controller::get_public_item_schema
Retrieves the item’s schema for display / public consumption purposes.
WP_REST_Controller::get_collection_params
Retrieves the query params for the collections.
WP_REST_Controller::get_item_schema
Retrieves the item’s schema, conforming to JSON Schema.
Advertisement
WP_REST_Controller::filter_response_by_context
Filters a response based on the context defined in the schema.
WP_REST_Controller::prepare_response_for_collection
Prepares a response for insertion into a collection.
WP_REST_Controller::prepare_item_for_response
Prepares the item for the REST response.