apply_filters( 'rest_queried_resource_route', string $link )

Filters the REST route for the currently queried object.


Parameters

$link

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


Source

File: wp-includes/rest-api.php

View on GitHub


Changelog

Changelog
Version Description
5.5.0 Introduced.