bbp_forum_topics_feed_link

Output the link for the forum feed.

Description

bbp_forum_topics_feed_link( (int) $forum_id = 0 ); 

Parameters (1)

0. $forum_id — Optional. (int)
Forum ID.

Usage

  1. if ( !function_exists( 'bbp_forum_topics_feed_link' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bbpress/includes/forums/template.php'; 
  3.  
  4. // Optional. Forum ID. 
  5. $forum_id = -1; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bbp_forum_topics_feed_link($forum_id); 
  9.  

Defined (1)

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

/includes/forums/template.php  
  1. function bbp_forum_topics_feed_link( $forum_id = 0 ) { 
  2. echo bbp_get_forum_topics_feed_link( $forum_id );