Core Function
View Source on Trac ↗ get_tag_link()
get_tag_link( mixed $tag ) Retrieves the link to the tag.
Parameters 1 required
| Name / Type | Description |
|---|---|
| (int | | object) $tag Tag ID or object. Required |
Return Value
(string)
Link on success, empty string if tag does not exist.
Function Information
Since Version
2.3.0
Source File
wp-includes/category-template.php
Advertisement