WordPress at a glance
filter is not described

category_link filter-hook . WP 1.5.0

Filters the category link.

Usage

add_filter( 'category_link', 'filter_function_name_3282', 10, 2 );
function filter_function_name_3282( $termlink, $term_id ){
	// filter...

	return $termlink;
}
$termlink(string)
Category link URL.
$term_id(int)
Term ID.

Changelog

Since 1.5.0 Introduced.
Since 2.5.0 Deprecated in favor of {@see 'term_link'} filter.
Since 5.4.1 Restored (un-deprecated).

Where the hook is called

get_term_link()
category_link
wp-includes/taxonomy.php 4391
$termlink = apply_filters( 'category_link', $termlink, $term->term_id );

Where in WP core the hook is used WordPress

Usage not found.