wpseek.com
A WordPress-centric search engine for devs and theme authors



get_tag_link › WordPress Function

Since2.3.0
Deprecatedn/a
get_tag_link ( $tag )
Parameters:
  • (int|object) $tag Tag ID or object.
    Required: Yes
See:
Returns:
  • (string) Link on success, empty string if tag does not exist.
Defined at:
Codex:

Retrieves the link to the tag.



Source

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