bbp_get_theme_compat_version()
Gets the version of the Forums compatable theme used, in the event the currently active WordPress theme does not explicitly support Forums.
Description
This can be filtered or set manually. Tricky theme authors can override the default and include their own Forums compatibility layers for their themes.
Return
(string)
Source
File: bp-forums/core/theme-compat.php
function bbp_get_theme_compat_version() { return apply_filters( 'bbp_get_theme_compat_version', bbpress()->theme_compat->theme->version ); }
Changelog
Version | Description |
---|---|
bbPress (r3506) | 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.