wpseek.com
A WordPress-centric search engine for devs and theme authors
rest_pre_serve_request › WordPress Filter Hooks
Since4.4.0
Deprecatedn/a
› apply_filters( 'rest_pre_serve_request', false, $result, $request, $this )
| Parameters: (4) |
|
| Defined at: | |
| Codex: |
Filters whether the REST API request has already been served.
Allow sending the request manually - by returning true, the API result will not be sent to the client.Related Functions: _oembed_rest_pre_serve_request, rest_ensure_request, rest_parse_request_arg, rest_preload_api_request, wp_create_user_request, rest_do_request