bbp_topic_tag_slug

Output the slug of the current tag.

Description

bbp_topic_tag_slug( (string) $tag = '' ); 

Parameters (1)

0. $tag — Optional. (string) => ''
The tag.

Usage

  1. if ( !function_exists( 'bbp_topic_tag_slug' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bbpress/includes/topics/template.php'; 
  3.  
  4. // The tag. 
  5. $tag = ''; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bbp_topic_tag_slug($tag); 
  9.  

Defined (1)

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

/includes/topics/template.php  
  1. function bbp_topic_tag_slug( $tag = '' ) { 
  2. echo bbp_get_topic_tag_slug( $tag );