get_term_feed_link
get_term_feed_link ( $term, $taxonomy = '', $feed = '' )
Parameters:- (int|WP_Term|object) term The ID or term object whose feed link will be retrieved.
- (string) taxonomy Optional. Taxonomy of `$term_id`.
- (string) feed Optional. Feed type. Possible values include 'rss2', 'atom'. Default is the value of get_default_feed().
Returns:- (string|false) Link to the feed for the term specified by `$term` and `$taxonomy`.
Defined at: - Introduced in WordPress: 3.0.0
- Deprecated in WordPress: —
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.