Function: get_tag_feed_link

get_tag_feed_link( integer $tag_id, string $feed )

Retrieves the permalink for a tag feed.

Shortcut: gtfl

You can use above key combination to trigger the associated snippet for this function in the WordPress Snippets for Visual Studio Code extension. You can also use this shortcut to search for this function on this website.


Name Type(s) Default Value Description
$tag_id integer

Tag ID.

$feed string ''

Optional. Feed type. Default empty.



The feed permalink for the given tag.

WordPress Developer Newsletter

Stay informed of new chapter releases, important WordPress API updates and more.