bbp_get_theme_compat_name()
Gets the name of the bbPress compatible theme used, in the event the currently active WordPress theme does not explicitly support bbPress.
Description Description
This can be filtered or set manually. Tricky theme authors can override the default and include their own bbPress compatibility layers for their themes.
Return Return
(string)
Source Source
File: includes/core/theme-compat.php
function bbp_get_theme_compat_name() { // Filter & return return apply_filters( 'bbp_get_theme_compat_name', bbp_get_current_template_pack()->name ); }
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |