WordPress at a glance
filter is not described

term_link filter-hook . WP 2.5.0

Filters the term link.

Usage

add_filter( 'term_link', 'filter_function_name_7532', 10, 3 );
function filter_function_name_7532( $termlink, $term, $taxonomy ){
	// filter...

	return $termlink;
}
$termlink(string)
Term link URL.
$term(WP_Term)
Term object.
$taxonomy(string)
Taxonomy slug.

Список изменений

С версии 2.5.0 Введена.

Где вызывается хук

get_term_link()
term_link
wp-includes/taxonomy.php 4403
return apply_filters( 'term_link', $termlink, $term, $taxonomy );

Где используется хук в ядре WP

wp-includes/default-filters.php 494
add_filter( 'term_link', '_post_format_link', 10, 3 );