bbp_get_topic_tag_template()
Get the topic template
Description Description
Return Return
(string) Path to template file
Source Source
File: includes/core/template-loader.php
function bbp_get_topic_tag_template() { $tt_slug = bbp_get_topic_tag_slug(); $tt_id = bbp_get_topic_tag_tax_id(); $templates = array( 'taxonomy-' . $tt_slug . '.php', // Single Topic Tag slug 'taxonomy-' . $tt_id . '.php', // Single Topic Tag ID ); return bbp_get_query_template( 'topic_tag', $templates ); }
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |