Filter hook 'category_link'

in WP Core File wp-includes/taxonomy.php at line 4720

Description

Filters the category link.

Occurrences

Filename Line Number
wp-includes/taxonomy.php 4720

Parameters

Type Name Description
string $termlink Category link URL.
int $term_id Term ID.

PHP Doc

/**
		 * Filters the category link.
		 *
		 * @since 1.5.0
		 * @since 2.5.0 Deprecated in favor of {@see 'term_link'} filter.
		 * @since 5.4.1 Restored (un-deprecated).
		 *
		 * @param string $termlink Category link URL.
		 * @param int    $term_id  Term ID.
		 */