get_tag_link( int|object $tag )

Retrieves the link to the tag.


Description Description

See also See also


Top ↑

Parameters Parameters

$tag

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


Top ↑

Return Return

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


Top ↑

Source Source

File: wp-includes/category-template.php

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


Top ↑

Changelog Changelog

Changelog
Version Description
2.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.