rest_route_for_term – filter

Filters the REST API route for a term. 

Parameters

.
( 5.5.0 ) . .
( string ) $route The route path. . . .
$term
( WP_Term ) The term object. . . .
API Letters: ,,

Implementers