wpseek.com
A WordPress-centric search engine for devs and theme authors



get_tag_feed_link › WordPress Function

Since2.3.0
Deprecatedn/a
get_tag_feed_link ( $tag, $feed = '' )
Parameters: (2)
  • (int|WP_Term|object) $tag The ID or term object whose feed link will be retrieved.
    Required: Yes
  • (string) $feed Optional. Feed type. Possible values include 'rss2', 'atom'. Default is the value of get_default_feed().
    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, $feed = '' ) {
	return get_term_feed_link( $tag, 'post_tag', $feed );
}