wpseek.com
WordPress开发者和主题制作者的搜索引擎



get_tag_link › WordPress Function

Since2.3.0
已弃用n/a
get_tag_link ( $tag )
参数:
  • (int|object) $tag Tag ID or object.
    Required: Yes
查看:
返回:
  • (string) Link on success, empty string if tag does not exist.
定义在:
文档:

Retrieves the link to the tag.



源码

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