bp_add_activitiy_visibility_selectbox

Return Html Select box for activity privacy UI.

Description

bp_add_activitiy_visibility_selectbox(); 

Usage

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

Defined (1)

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

/includes/bp-activity-privacy-actions.php  
  1. function bp_add_activitiy_visibility_selectbox() { 
  2. echo '<span name="activity-visibility" id="activity-visibility">'; 
  3. if ( bp_is_group_home() ) 
  4. else  
  5. echo '</span>';