Filter hook 'rest_route_for_taxonomy_items'

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

Description

Filters the REST API route for a taxonomy.

Occurrences

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

Parameters

Type Name Description
string $route The route path.
WP_Taxonomy $taxonomy The taxonomy object.

PHP Doc

/**
	 * Filters the REST API route for a taxonomy.
	 *
	 * @since 5.9.0
	 *
	 * @param string      $route    The route path.
	 * @param WP_Taxonomy $taxonomy The taxonomy object.
	 */