rest_get_route_for_taxonomy_items
rest_get_route_for_taxonomy_items ( $taxonomy )
Parameters:- (string) taxonomy Name of taxonomy.
Returns:- (string) The route path with a leading slash for the given taxonomy.
Defined at: - Introduced in WordPress: 5.9.0
- Deprecated in WordPress: —
Description
Gets the REST API route for a taxonomy.