get_tag_link( int|object $tag )
Retrieve the link to the tag.
Contents
Description Description
See also See also
Parameters Parameters
- $tag
-
(int|object) (Required) Tag ID or object.
Return Return
(string) Link on success, empty string if tag does not exist.
Source Source
File: wp-includes/category-template.php
function get_tag_link( $tag ) { return get_category_link( $tag ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |