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