Summery Summery

Retrieves the feed link for a term.

Syntax Syntax

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

Description Description

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.

Parameters Parameters


(int) (Required) Term ID.


(string) (Optional) Taxonomy of $term_id.

Default value: 'category'


(string) (Optional) Feed type. Possible values include 'rss2', 'atom'. Default is the value of get_default_feed().

Default value: ''

Return Return

(string|false) Link to the feed for the term specified by $term_id and $taxonomy.

Source Source

File: wp-includes/link-template.php



Changelog Changelog

Version Description
3.0.0 Introduced.


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.