A WordPress-centric search engine for devs and theme authors



get_tag_link ›

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:

Retrieve the link to the tag.



Source

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