get_term_feed_link


get_term_feed_link ( $term_id, $taxonomy = 'category', $feed = '' )

Parameters:
  • (int) $term_id Term ID.
  • (string) $taxonomy Optional. Taxonomy of `$term_id`. Default 'category'.
  • (string) $feed Optional. Feed type. Default empty.
Returns:
  • (string|false) Link to the feed for the term specified by $term_id and $taxonomy.
Defined at:

Description

Retrieves the feed link for a term.

Returns a link to the feed for all posts in a given term. A specific feed can be requested or left blank to get the default feed.

Related Functions

get_tag_feed_link, get_category_feed_link, get_author_feed_link, get_search_feed_link, get_feed_link

Top Google Results

User discussions

wpseek mobile