Updates settings for the settings object.
WP_REST_Settings_Controller::prepare_value
Prepares a value for output based off a schema array.
rest_pre_get_setting
Filters the value of a setting recognized by the REST API.
WP_REST_Settings_Controller::get_item
Retrieves the settings.
Advertisement
WP_REST_Settings_Controller::get_item_permissions_check
Checks if a given request has access to read and manage settings.
WP_REST_Settings_Controller::register_routes
Registers the routes for the objects of the controller.
WP_REST_Settings_Controller::__construct
Constructor.
WP_REST_Settings_Controller
Core class used to manage a site’s settings via the REST API.
Advertisement
WP_REST_Revisions_Controller::prepare_excerpt_response
Checks the post excerpt and prepare it for single post output.
WP_REST_Revisions_Controller::get_collection_params
Retrieves the query params for collections.
WP_REST_Revisions_Controller::get_item_schema
Retrieves the revision’s schema, conforming to JSON Schema.
WP_REST_Revisions_Controller::prepare_date_response
Checks the post_date_gmt or modified_gmt and prepare any post or modified date for single post output.
Advertisement
rest_prepare_revision
Filters a revision returned from the API.
WP_REST_Revisions_Controller::prepare_item_for_response
Prepares the revision for the REST response.
rest_delete_revision
Fires after a revision is deleted via the REST API.