bbp_topic_tag_link

Output the link of the current tag.

Description

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

Parameters (1)

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

Usage

  1. if ( !function_exists( 'bbp_topic_tag_link' ) ) { 
  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_link($tag); 
  9.  

Defined (1)

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

/includes/topics/template.php  
  1. function bbp_topic_tag_link( $tag = '' ) { 
  2. echo esc_url( bbp_get_topic_tag_link( $tag ) );