bbp_set_theme_compat_template( $template = '' )

Set the theme compat template global


Description Description

Stash the template file for the current query. Useful if plugins want to override it, or see what file is being included.


Source Source

File: includes/core/theme-compat.php

function bbp_set_theme_compat_template( $template = '' ) {
	bbpress()->theme_compat->template = $template;

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

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.