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

Filters the category link.


Parameters

$termlink string
Category link URL.
$term_id int
Term ID.

Top ↑

Source

File: wp-includes/taxonomy.php. View all references

$termlink = apply_filters( 'category_link', $termlink, $term->term_id );


Top ↑

Changelog

Changelog
Version Description
5.4.1 Restored (un-deprecated).
2.5.0 Deprecated in favor of 'term_link' filter.
1.5.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.