Used By
Used By | Description |
---|---|
wp-includes/rest-api.php: get_rest_url() | Retrieves the URL to a REST endpoint on a site. |
Filters the REST URL.
Use this filter to adjust the url returned by the get_rest_url() function.
(string) REST URL.
(string) REST route.
(int) Blog ID.
(string) Sanitization scheme.
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/rest_url