the_category_rss

Display the post categories in the feed.

Description

the_category_rss( (constant) $type = null ); 

Parameters (1)

0. $type — Optional. (constant) => null
Optional, default is the type returned by get_default_feed().

Usage

  1. if ( !function_exists( 'the_category_rss' ) ) { 
  2. require_once ABSPATH . WPINC . '/feed.php'; 
  3.  
  4. // Optional, default is the type returned by get_default_feed(). 
  5. $type = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = the_category_rss($type); 
  9.  

Defined (1)

The function is defined in the following location(s).

/wp-includes/feed.php  
  1. function the_category_rss($type = null) { 
  2. echo get_the_category_rss($type);