Used By
Used By | Description |
---|---|
wp-includes/rest-api/class-wp-rest-server.php: WP_REST_Server::dispatch() | Matches the request to a callback and call it. |
Filters the REST dispatch request result.
Allow plugins to override dispatching the request.
(mixed) Dispatch result, will be used if not empty.
(WP_REST_Request) Request used to generate the response.
(string) Route matched for the request.
(array) Route handler used for the request.
Version | Description |
---|---|
4.5.0 | Added $route and $handler parameters. |
4.4.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/rest_dispatch_request