bbp_template_include( string $template = '' )

The main filter used for theme compatibility and displaying custom Forums theme files.

Description

Parameters

$template

(Optional)

Default value: ''

Return

(string) Template file to use

Source

File: bp-forums/core/sub-actions.php

function bbp_template_include( $template = '' ) {
	return apply_filters( 'bbp_template_include', $template );
}

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.