get_tag_feed_link

SummerySummery

Retrieves the permalink for a tag feed.

Syntax

get_tag_feed_link( int $tag_id, string $feed = '' )

ParametersParameters

$tag_id

(int) (Required) Tag ID.

$feed

(string) (Optional) Feed type. Possible values include 'rss2', 'atom'. Default is the value of get_default_feed().

Default value: ''

ReturnReturn

(string) The feed permalink for the given tag.

SourceSource

File: wp-includes/link-template.php


			

ChangelogChangelog

Changelog
Version Description
2.3.0 Introduced.
Scroll to Top