From fc31e5395b3b81354d0ab9b1cfcd57f298200cda Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 9 Nov 2007 20:31:24 +0000 Subject: [PATCH] phpdoc for get_category_feed_link(). see #5173 git-svn-id: http://svn.automattic.com/wordpress/trunk@6328 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/feed.php | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/wp-includes/feed.php b/wp-includes/feed.php index 1fe496c21c..24f5f9d276 100644 --- a/wp-includes/feed.php +++ b/wp-includes/feed.php @@ -127,7 +127,19 @@ function get_author_rss_link($echo = false, $author_id, $author_nicename) { return $link; } - +/** get_category_feed_link() - Get the feed link for a given category + * + * Returns a link to the feed for all post in a given category. A specific feed can be requested + * or left blank to get the default feed. + * + * @package WordPress + * @subpackage Feed + * @since 2.4 + * + * @param int $cat_id ID of a category + * @param string $feed Feed type + * @return string Link to the feed for the category specified by $cat_id +*/ function get_category_feed_link($cat_id, $feed = 'rss2') { $cat_id = (int) $cat_id;