464* Filters the RESTURL prefix.465*466* @since 4.4.0467*468* @param string$prefixURL prefix.Default'wp-json'.469*/470returnapply_filters('rest_url_prefix','wp-json');471}472473/**474* Retrieves the URL to a REST endpoint on a site.475*476* Note: The returned URL is NOT escaped.
History
Introduced in 4.4.0. Unchanged from 6.7.7 through 7.1.0.