bbp_get_topic_merge_template

Get the topic merge template.

Description

(string) bbp_get_topic_merge_template(); 

Returns (string)

Path to template file


Usage

  1. if ( !function_exists( 'bbp_get_topic_merge_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_merge_template(); 
  7.  

Defined (1)

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

/includes/core/template-loader.php  
  1. function bbp_get_topic_merge_template() { 
  2. $templates = array( 
  3. 'single-' . bbp_get_topic_post_type() . '-merge.php', // Topic Merge 
  4. ); 
  5. return bbp_get_query_template( 'topic_merge', $templates );