wpseek.com
A WordPress-centric search engine for devs and theme authors



rest_queried_resource_route › WordPress Filter Hooks

Since5.5.0
Deprecatedn/a
apply_filters( 'rest_queried_resource_route', $route )
Parameters:
  • (string) $link The route with a leading slash, or an empty string.
    Required: Yes
Defined at:
Codex:

Filters the REST route for the currently queried object.





Source

return apply_filters( 'rest_queried_resource_route', $route );