WordPress at a glance
filter is not described

pre_term_link filter-hook . WP 4.9.0

Filters the permalink structure for a terms before token replacement occurs.

Usage

add_filter( 'pre_term_link', 'filter_function_name_6343', 10, 2 );
function filter_function_name_6343( $termlink, $term ){
	// filter...

	return $termlink;
}
$termlink(string)
The permalink structure for the term's taxonomy.
$term(WP_Term)
The term object.

Where the hook is called

get_term_link()
pre_term_link
wp-includes/taxonomy.php 3941
$termlink = apply_filters( 'pre_term_link', $termlink, $term );

Where the hook is used (in WP core)

Does not used.