get_category_feed_link

Definition:
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.

Parameters

  • 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);

}

1250

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:

WordPress.com Logo

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

Facebook photo

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

Connecting to %s

%d bloggers like this: