Uses
| Uses | Description |
|---|---|
| wp-includes/category-template.php: get_category_link() | Retrieves category link URL. |
Retrieves the link to the tag.
(int|object) (Required) Tag ID or object.
(string) Link on success, empty string if tag does not exist.
File: wp-includes/category-template.php
function get_tag_link( $tag ) {
return get_category_link( $tag );
} | Version | Description |
|---|---|
| 2.3.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/get_tag_link