apply_filters( 'rest_route_for_term', string $route, WP_Term $term )

Filters the REST API route for a term.


Parameters

$route string
The route path.
$term WP_Term
The term object.

Top ↑

Source

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

return apply_filters( 'rest_route_for_term', $route, $term );


Top ↑

Changelog

Changelog
Version Description
5.5.0 Introduced.

Top ↑

User Contributed Notes

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