bp_get_profile__follow_groups_privacy_levels

The BuddyPress Activity Privacy bp get profile follow groups privacy levels function.

Description

bp_get_profile__follow_groups_privacy_levels( $groups_activity_privacy_levels ); 

Parameters (1)

0. $groups_activity_privacy_levels
The groups activity privacy levels.

Usage

  1. if ( !function_exists( 'bp_get_profile__follow_groups_privacy_levels' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress-activity-privacy/includes/bp-activity-privacy-integrations.php'; 
  3.  
  4. // The groups activity privacy levels. 
  5. $groups_activity_privacy_levels = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bp_get_profile__follow_groups_privacy_levels($groups_activity_privacy_levels); 
  9.  

Defined (1)

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

/includes/bp-activity-privacy-integrations.php  
  1. function bp_get_profile__follow_groups_privacy_levels($groups_activity_privacy_levels) { 
  2. $groups_activity_privacy_levels [] = 'followers'; 
  3. //followers in the group 
  4. $groups_activity_privacy_levels [] = 'groupfollowers'; 
  5.  
  6. return $groups_activity_privacy_levels;