apply_filters( 'rest_url_prefix', string $prefix )
Filters the REST URL prefix.
Description Description
Parameters Parameters
- $prefix
-
(string) URL prefix. Default 'wp-json'.
Source Source
File: wp-includes/rest-api.php
Changelog Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |