get_tag_link()

最后更新于:2021-11-27 00:50:57

get_tag_link( int|object$tag)

Retrieves the link to the tag.

参数

$tag

(int|object) (Required) Tag ID or object.

响应

(string) Link on success, empty string if tag does not exist.

源文件

文件: gc-includes/category-template.php

function get_tag_link( $tag ) {
	return get_category_link( $tag );
}