wpseek.com
A WordPress-centric search engine for devs and theme authors
wp_rest_server_class › WordPress Filter Hooks
Since4.4.0
Deprecatedn/a
› apply_filters( 'wp_rest_server_class', 'WP_REST_Server' )
Parameters: |
|
Defined at: |
|
Codex: |
Filters the REST Server Class.
This filter allows you to adjust the server class used by the REST API, using a different class to handle requests.
Related Functions: wp_get_server_protocol, wp_fix_server_vars, wp_reset_vars, wp_unregister_globals, rest_get_server, wp_register_colors_support