495* Filters the RESTURL prefix.496*497* @since 4.4.0498*499* @param string$prefixURL prefix.Default'wp-json'.500*/501returnapply_filters('rest_url_prefix','wp-json');502}503504/**505* Retrieves the URL to a REST endpoint on a site.506*507* Note: The returned URL is NOT escaped.
History
Introduced in 4.4.0. Unchanged from 6.7.7 through 7.1.0.