This hook has been deprecated. Use ‘term_link’ instead.

apply_filters( 'category_link', string $termlink, int $term_id )

Filters the category link.


Parameters

$termlink

(string) Category link URL.

$term_id

(int) Term ID.


Source

File: wp-includes/taxonomy.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.5.0 Use 'term_link' instead.
WP-1.5.0 Introduced. This hook has been deprecated. Use 'term_link' instead.