bbp_set_theme_compat_original_template( $template = '' )

Set the theme compat original_template global


Description Description

Stash the original template file for the current query. Useful for checking if bbPress was able to find a more appropriate template.


Source Source

File: includes/core/theme-compat.php

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

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

Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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