bp_get_group_activity_feed_link

Return the current group activity-stream RSS URL.

Description

(string) bp_get_group_activity_feed_link(); 

Returns (string)


Usage

  1. if ( !function_exists( 'bp_get_group_activity_feed_link' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-groups/bp-groups-template.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bp_get_group_activity_feed_link(); 
  7.  

Defined (1)

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

/bp-groups/bp-groups-template.php  
  1. function bp_get_group_activity_feed_link() { 
  2. $current_group = groups_get_current_group(); 
  3. $group_link = bp_get_group_permalink( $current_group ) . 'feed'; 
  4. $feed_link = trailingslashit( $group_link ); 
  5.  
  6. /** 
  7. * Filters the current group activity-stream RSS URL. 
  8. * @since 1.2.0 
  9. * @param string $feed_link Current group activity-stream RSS URL. 
  10. */