Used By
Used By | Description |
---|---|
wp-includes/rest-api.php: rest_get_server() | Retrieves the current REST server instance. |
Filters the REST Server Class.
This filter allows you to adjust the server class used by the API, using a different class to handle requests.
(string) The name of the server class. Default 'WP_REST_Server'.
File: wp-includes/rest-api.php
Version | Description |
---|---|
4.4.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_rest_server_class