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

Retrieves the permalink for a tag feed.


Description Description


Parameters Parameters

$tag_id

(int) (Required) Tag ID.

$feed

(string) (Optional) Feed type.

Default value: ''


Top ↑

Return Return

(string) The feed permalink for the given tag.


Top ↑

Source Source

File: wp-includes/link-template.php

function get_tag_feed_link( $tag_id, $feed = '' ) {
	return get_term_feed_link( $tag_id, 'post_tag', $feed );
}

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.