WP_REST_Revisions_Controller::register_routes()
Registers the routes for revisions based on post types supporting revisions.
Registers the routes for revisions based on post types supporting revisions.
Core class used to manage a site’s settings via the REST API.
Constructor.
Retrieves the settings.
Checks if a given request has access to read and manage settings.
Retrieves the site setting schema, conforming to JSON Schema.
Retrieves all of the registered options for the Settings API.
Prepares a value for output based off a schema array.
Registers the routes for the site’s settings.
Custom sanitize callback used for all options to allow the use of ‘null’.