bbp_set_template_included( mixed $template = false )

Set the included template

Description

Parameters

$template

(Optional) Default false

Default value: false

Return

(mixed) False if empty. Template name if template included

Source

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

function bbp_set_template_included( $template = false ) {
	bbpress()->theme_compat->bbpress_template = $template;

	return bbpress()->theme_compat->bbpress_template;
}

Changelog

Changelog
Version Description
bbPress (r4975) 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.