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



rest_route_for_taxonomy_items › WordPress Filter Hooks

Since5.9.0
Deprecatedn/a
apply_filters( 'rest_route_for_taxonomy_items', $route, $taxonomy )
Parameters: (2)
  • (string) $route The route path.
    Required: Yes
  • (WP_Taxonomy) $taxonomy The taxonomy object.
    Required: Yes
Defined at:
Codex:

Filters the REST API route for a taxonomy.





Source

return apply_filters( 'rest_route_for_taxonomy_items', $route, $taxonomy );