bb_forum_posts_rss_link

The BuddyPress bb forum posts rss link function.

Description

bb_forum_posts_rss_link( (int) $forum_id = 0, (int) $context = 0 ); 

Parameters (2)

0. $forum_id — Optional. (int)
The forum id.
1. $context — Optional. (int)
The context.

Usage

  1. if ( !function_exists( 'bb_forum_posts_rss_link' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-forums/bbpress/bb-includes/functions.bb-template.php'; 
  3.  
  4. // The forum id. 
  5. $forum_id = -1; 
  6.  
  7. // The context. 
  8. $context = -1; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = bb_forum_posts_rss_link($forum_id, $context); 
  12.  

Defined (1)

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

/bp-forums/bbpress/bb-includes/functions.bb-template.php  
  1. function bb_forum_posts_rss_link( $forum_id = 0, $context = 0 ) { 
  2. if (!$context || !is_integer($context)) { 
  3. echo apply_filters('bb_forum_posts_rss_link', bb_get_forum_posts_rss_link( $forum_id, $context ), $context );