apply_filters( ‘tag_link’, string $termlink, int $term_id )

In this article

Filters the tag link.

Parameters

$termlinkstring
Tag link URL.
$term_idint
Term ID.

Source

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

Changelog

VersionDescription
5.4.1Restored (un-deprecated).
2.5.0Deprecated in favor of 'term_link' filter.
2.3.0Introduced.

User Contributed Notes

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