Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




get_category_feed_link [ WordPress Function ]

get_category_feed_link ( $cat_id, $feed = '' )
Parameters:
  • (int) $cat_id ID of a category.
  • (string) $feed Optional. Feed type.
Returns:
  • (string) Link to the feed for the category specified by $cat_id.
Defined at:



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.

Source


<?php
function get_category_feed_link($cat_id$feed '') {
    return 
get_term_feed_link($cat_id'category'$feed);
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics