bb_related_tags

The BuddyPress bb related tags function.

Description

bb_related_tags( (constant) $_tag = false, (int) $number = 0 ); 

Parameters (2)

0. $tag (constant)
The tag.
1. $number — Optional. (int)
The number.

Usage

  1. if ( !function_exists( 'bb_related_tags' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-forums/bbpress/bb-includes/functions.bb-deprecated.php'; 
  3.  
  4. // The tag. 
  5. $tag = null; 
  6.  
  7. // The number. 
  8. $number = -1; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = bb_related_tags($tag, $number); 
  12.  

Defined (1)

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

/bp-forums/bbpress/bb-includes/functions.bb-deprecated.php  
  1. function bb_related_tags( $_tag = false, $number = 0 ) 
  2. bb_log_deprecated( 'function', __FUNCTION__, 'no alternative' ); 
  3. return false;