WordPress at a glance
filter is not described

rest_prepare_(taxonomy) filter-hook . WP 4.7.0

Filters a term item returned from the API.

The dynamic portion of the hook name, $this->taxonomy, refers to the taxonomy slug.

Allows modification of the term data right before it is returned.

Usage

add_filter( 'rest_prepare_(taxonomy)', 'filter_function_name_5697', 10, 3 );
function filter_function_name_5697( $response, $item, $request ){
	// filter...

	return $response;
}
$response(WP_REST_Response)
The response object.
$item(object)
The original term object.
$request(WP_REST_Request)
Request used to generate the response.

Where the hook is called

WP_REST_Terms_Controller::prepare_item_for_response()
rest_prepare_(taxonomy)
wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php 764
return apply_filters( "rest_prepare_{$this->taxonomy}", $response, $item, $request );

Where the hook is used (in WP core)

Does not used.