Filters the REST API route for a taxonomy.
$routestring
$taxonomyWP_Taxonomy
return apply_filters( 'rest_route_for_taxonomy_items', $route, $taxonomy );
| Version | Description |
|---|---|
| 5.9.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/rest_route_for_taxonomy_items