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.


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

	return $termlink;
The permalink structure for the term's taxonomy.
The term object.

Where the hook is called

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

Where the hook is used (in WP core)

Does not used.