Filters the REST API route for a term.
Parameters
$routestring- The route path.
$termWP_Term- The term object.
Source
return apply_filters( 'rest_route_for_term', $route, $term );
Changelog
| Version | Description |
|---|---|
| 5.5.0 | Introduced. |
Filters the REST API route for a term.
$routestring$termWP_Termreturn apply_filters( 'rest_route_for_term', $route, $term );
| Version | Description |
|---|---|
| 5.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.