bp_activity_screen_groups

Load the 'My Groups' activity page.

Description

bp_activity_screen_groups(); 

Usage

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

Defined (1)

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

/bp-activity/bp-activity-screens.php  
  1. function bp_activity_screen_groups() { 
  2. if ( !bp_is_active( 'groups' ) ) 
  3. return false; 
  4.  
  5. bp_update_is_item_admin( bp_current_user_can( 'bp_moderate' ), 'activity' ); 
  6.  
  7. /** 
  8. * Fires right before the loading of the "My Groups" screen template file. 
  9. * @since 1.2.0 
  10. */ 
  11.  
  12. /** 
  13. * Filters the template to load for the "My Groups" screen. 
  14. * @since 1.2.0 
  15. * @param string $template Path to the activity template to load. 
  16. */