function get_category_feed_link($cat_id, $feed = '') {}

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


  • int $cat_id: ID of a category.
  • string $feed: Optional. Feed type.

Return values

returns:Link to the feed for the category specified by $cat_id.

Source code

function get_category_feed_link($cat_id, $feed = '') {

	return get_term_feed_link($cat_id, 'category', $feed);



No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: