bp_activity_privacy_override_allowed_tags

The BuddyPress Activity Privacy bp activity privacy override allowed tags function.

Description

bp_activity_privacy_override_allowed_tags( $activity_allowedtags ); 

Parameters (1)

0. $activity_allowedtags
The activity allowedtags.

Usage

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

Defined (1)

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

/includes/bp-activity-privacy-filters.php  
  1. function bp_activity_privacy_override_allowed_tags($activity_allowedtags) { 
  2. $activity_allowedtags['i']['class'] = array(); 
  3. $activity_allowedtags['i']['title'] = array(); 
  4. $activity_allowedtags['select'] = array(); 
  5. $activity_allowedtags['select']['style'] = array(); 
  6. $activity_allowedtags['select']['class'] = array(); 
  7. $activity_allowedtags['select']['autocomplete'] = array(); 
  8. $activity_allowedtags['option'] = array(); 
  9. $activity_allowedtags['option']['value'] = array(); 
  10. $activity_allowedtags['option']['selected'] = array(); 
  11. $activity_allowedtags['option']['style'] = array(); 
  12. $activity_allowedtags['option']['class'] = array(); 
  13. $activity_allowedtags['div'] = array(); 
  14. $activity_allowedtags['div']['style'] = array(); 
  15. $activity_allowedtags['div']['class'] = array(); 
  16. $activity_allowedtags['small'] = array(); 
  17. $activity_allowedtags['small']['style'] = array(); 
  18.  
  19. return $activity_allowedtags;