bb_allowed_tags

The BuddyPress bb allowed tags function.

Description

bb_allowed_tags(); 

Usage

  1. if ( !function_exists( 'bb_allowed_tags' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-forums/bbpress/bb-includes/functions.bb-formatting.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bb_allowed_tags(); 
  7.  

Defined (1)

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

/bp-forums/bbpress/bb-includes/functions.bb-formatting.php  
  1. function bb_allowed_tags() { 
  2. $tags = array( 
  3. 'a' => array( 
  4. 'href' => array(),  
  5. 'title' => array(),  
  6. 'rel' => array()),  
  7. 'blockquote' => array('cite' => array()),  
  8. 'br' => array(),  
  9. 'code' => array(),  
  10. 'pre' => array(),  
  11. 'em' => array(),  
  12. 'strong' => array(),  
  13. 'ul' => array(),  
  14. 'ol' => array(),  
  15. 'li' => array() 
  16. ); 
  17. return apply_filters( 'bb_allowed_tags', $tags );