WP_REST_Server
Core class used to implement the WordPress REST API server.
Core class used to implement the WordPress REST API server.
Instantiates the REST server.
Adds a link to the active theme for users who have proper permissions.
Exposes an image through the WordPress REST API.
Exposes the site icon through the WordPress REST API.
Exposes the site logo through the WordPress REST API.
Checks the authentication headers if supplied.
Matches the request to a callback and call it.
Embeds the links from the data into the request.
Wraps the response in an envelope.