bp_get_profile_activity_privacy_levels

[bp_get_profile_activity_privacy_levels description].

Description

(array) bp_get_profile_activity_privacy_levels(); 

Returns (array)

the profile activity privacy levels


Usage

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

Defined (1)

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

/includes/bp-activity-privacy-template.php  
  1. function bp_get_profile_activity_privacy_levels() { 
  2. global $bp_activity_privacy; 
  3.  
  4. $profile_activity_privacy_levels = bp_get_option( 'bp_ap_profile_activity_privacy_levels', $bp_activity_privacy->profile_activity_privacy_levels ); 
  5. return apply_filters( 'bp_profile_activity_privacy_levels_filter', $profile_activity_privacy_levels );