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_8509', 10, 2 );
function filter_function_name_8509( $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 4186
$termlink = apply_filters( 'pre_term_link', $termlink, $term );

Where the hook is used (in WP core)

Использование не найдено.