A WordPress-centric search engine for devs and theme authors



get_tag_feed_link ›

Since2.3.0
Deprecatedn/a
get_tag_feed_link ( $tag_id, $feed = '' )
Parameters: (2)
  • (int) $tag_id Tag ID.
    Required: Yes
  • (string) $feed Optional. Feed type. Default empty.
    Required: No
    Default: (empty)
Returns:
  • (string) The feed permalink for the given tag.
Defined at:
Codex:

Retrieves the permalink for a tag feed.



Source

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