bb_tag_name

The WordPress Core bb tag name function.

Description

bb_tag_name( (int) $tag_id = 0 ); 

Parameters (1)

0. $tag_id — Optional. (int)
The tag id.

Usage

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

Defined (1)

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

/bp-forums/bbpress/bb-includes/functions.bb-template.php  
  1. function bb_tag_name( $tag_id = 0 ) 
  2. echo esc_html( bb_get_tag_name( $tag_id ) );