apply_filters( ‘rest_route_for_taxonomy_items’, string $route, WP_Taxonomy $taxonomy )

In this article

Filters the REST API route for a taxonomy.

Parameters

$routestring
The route path.
$taxonomyWP_Taxonomy
The taxonomy object.

Source

return apply_filters( 'rest_route_for_taxonomy_items', $route, $taxonomy );

Changelog

VersionDescription
5.9.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.