apply_filters( ‘rest_queried_resource_route’, string $link )

In this article

Filters the REST route for the currently queried object.

Parameters

$linkstring
The route with a leading slash, or an empty string.

Source

return apply_filters( 'rest_queried_resource_route', $route );

Changelog

VersionDescription
5.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.