bb_get_tag_by_name

The BuddyPress bb get tag by name function.

Description

bb_get_tag_by_name( $tag ); 

Parameters (1)

0. $tag
The tag.

Usage

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

Defined (1)

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

/bp-forums/bbpress/bb-includes/functions.bb-deprecated.php  
  1. function bb_get_tag_by_name( $tag ) { 
  2. bb_log_deprecated('function', __FUNCTION__, 'bb_get_tag'); 
  3. return bb_get_tag( $tag );