bbp_get_topic_tag_edit_template

Get the topic edit template.

Description

(string) bbp_get_topic_tag_edit_template(); 

Returns (string)

Path to template file


Usage

  1. if ( !function_exists( 'bbp_get_topic_tag_edit_template' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bbpress/includes/core/template-loader.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bbp_get_topic_tag_edit_template(); 
  7.  

Defined (1)

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

/includes/core/template-loader.php  
  1. function bbp_get_topic_tag_edit_template() { 
  2. $tt_slug = bbp_get_topic_tag_slug(); 
  3. $templates = array( 
  4. 'taxonomy-' . $tt_slug . '-edit.php', // Single Topic Tag Edit slug 
  5. 'taxonomy-' . $tt_id . '-edit.php' // Single Topic Tag Edit ID 
  6. ); 
  7. return bbp_get_query_template( 'topic_tag_edit', $templates );