bbp_get_theme_compat_templates()

Get the templates to use as the endpoint for bbPress template parts


Description Description


Return Return

(string) Path to template file


Top ↑

Source Source

File: includes/core/template-loader.php

function bbp_get_theme_compat_templates() {
	$templates = array(
		'plugin-bbpress.php',
		'bbpress.php',
		'forums.php',
		'forum.php',
		'generic.php',
		'page.php',
		'single.php',
		'singular.php',
		'index.php'
	);
	return bbp_get_query_template( 'bbpress', $templates );
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.6.0 bbPress (r5950) Added singular.php to template stack
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.