On this page
apply_filters( 'rest_queried_resource_route', string $link )
Filters the REST route for the currently queried object.
Parameters
$linkstring-
The route with a leading slash, or an empty string.
Source
File: wp-includes/rest-api.php. View all references
return apply_filters( 'rest_queried_resource_route', $route );
Related
Used By
| Used By | Description |
|---|---|
| rest_get_queried_resource_route() wp-includes/rest-api.php | Gets the REST route for the currently queried object. |
Changelog
| Version | Description |
|---|---|
| 5.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/rest_queried_resource_route