Summery Summery
Do a REST request.
Syntax Syntax
Description Description
Used primarily to route internal requests through WP_REST_Server.
Parameters Parameters
- $request
-
(Required) Request.
Return Return
(WP_REST_Response) REST response.
Source Source
File: wp-includes/rest-api.php
* @param string $url REST URL. * @param string $path REST route. * @param int $blog_id Blog ID. * @param string $scheme Sanitization scheme.
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |