bbp_set_theme_compat_templates( $templates = array() )

Set the theme compat templates global


Description Description

Stash possible template files for the current query. Useful if plugins want to override them, or see what files are being scanned for inclusion.


Source Source

File: includes/core/theme-compat.php

function bbp_set_theme_compat_templates( $templates = array() ) {
	bbpress()->theme_compat->templates = $templates;

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

Top ↑

Changelog Changelog

Changelog
Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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