wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



get_category_rss_link › WordPress Function

Depuis1.2.0
Dépréciée2.5.0
get_category_rss_link ( $display = false, $cat_id = 1 )
Paramètres: (2)
  • (bool) $display
    Requis: Non
    Défaut: false
  • (int) $cat_id
    Requis: Non
    Défaut: 1
Voir:
Retourne:
  • (string)
Défini(e) dans:
Codex:

Print/Return link to category RSS2 feed.



Source

function get_category_rss_link($display = false, $cat_id = 1) {
	_deprecated_function( __FUNCTION__, '2.5.0', 'get_category_feed_link()' );

	$link = get_category_feed_link($cat_id, 'rss2');

	if ( $display )
		echo $link;
	return $link;
}