bp_get_theme_compat_templates()

Get the templates to use as the endpoint for BuddyPress template parts.


Return Return

(string) Possible root level wrapper template files.


Source Source

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

function bp_get_theme_compat_templates() {
	return bp_get_query_template( 'buddypress', array(
		'plugin-buddypress.php',
		'buddypress.php',
		'community.php',
		'generic.php',
		'page.php',
		'single.php',
		'singular.php',
		'index.php'
	) );
}


Top ↑

Changelog Changelog

Changelog
Version Description
2.4.0 Added singular.php to stack
1.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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