bp_get_profile__follow_activity_privacy_levels

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

Description

bp_get_profile__follow_activity_privacy_levels( $profile_activity_privacy_levels ); 

Parameters (1)

0. $profile_activity_privacy_levels
The profile activity privacy levels.

Usage

  1. if ( !function_exists( 'bp_get_profile__follow_activity_privacy_levels' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress-activity-privacy/includes/bp-activity-privacy-integrations.php'; 
  3.  
  4. // The profile activity privacy levels. 
  5. $profile_activity_privacy_levels = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bp_get_profile__follow_activity_privacy_levels($profile_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_activity_privacy_levels($profile_activity_privacy_levels) { 
  2. $profile_activity_privacy_levels [] = 'followers'; 
  3.  
  4. return $profile_activity_privacy_levels;