bbp_get_topic_split_template()

Get the topic split template

Description

Return

(string) Path to template file

Source

File: bp-forums/core/template-loader.php

398
399
400
401
402
403
function bbp_get_topic_split_template() {
    $templates = array(
        'single-' . bbp_get_topic_post_type() . '-split.php', // Topic Split
    );
    return bbp_get_query_template( 'topic_split', $templates );
}

Changelog

Changelog
Version Description
bbPress (r3311) Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.