Filter hook 'rest_route_for_term'

in WP Core File wp-includes/rest-api.php at line 3217

Description

Filters the REST API route for a term.

Occurrences

Filename Line Number
wp-includes/rest-api.php 3217

Parameters

Type Name Description
string $route The route path.
WP_Term $term The term object.

PHP Doc

/**
	 * Filters the REST API route for a term.
	 *
	 * @since 5.5.0
	 *
	 * @param string  $route The route path.
	 * @param WP_Term $term  The term object.
	 */