bbp_is_theme_compat_original_template( $template = '' )
Set the theme compat original_template global
Description
Stash the original template file for the current query. Useful for checking if Forums was able to find a more appropriate template.
Source
File: bp-forums/core/theme-compat.php
function bbp_is_theme_compat_original_template( $template = '' ) { $bbp = bbpress(); if ( empty( $bbp->theme_compat->original_template ) ) return false; return (bool) ( $bbp->theme_compat->original_template === $template ); }
Changelog
Version | Description |
---|---|
bbPress (r3926) | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.