get_category_feed_link


get_category_feed_link ( $cat, $feed = '' )

Parameters:
  • (int|WP_Term|object) cat The ID or category object whose feed link will be retrieved.
  • (string) feed Optional. Feed type. Possible values include 'rss2', 'atom'. Default is the value of get_default_feed().
Returns:
  • (string) Link to the feed for the category specified by `$cat`.
Defined at:

Description

Retrieves 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.

Related Functions

get_category_link, get_author_feed_link, get_term_feed_link, get_category_rss_link, get_tag_feed_link

Top Google Results

User discussions

wpseek mobile