category_link

Advertisement

Summery Summery

Filters the category link.

Syntax Syntax

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

Parameters Parameters

$termlink

(string) Category link URL.

$term_id

(int) Term ID.

Source Source

File: wp-includes/taxonomy.php

Advertisement

Changelog Changelog

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

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.