apply_filters( 'rest_route_for_taxonomy_items', string $route, WP_Taxonomy $taxonomy )

Filters the REST API route for a taxonomy.


Parameters

$route string
The route path.
$taxonomy WP_Taxonomy
The taxonomy object.

Top ↑

Source

File: wp-includes/rest-api.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
5.9.0 Introduced.

Top ↑

User Contributed Notes

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