File: bp-forums/core/theme-compat.php |
Description |
---|---|
bbp_restore_all_filters() |
Restores filters from the $bbp global that were removed using bbp_remove_all_filters() |
bbp_force_comment_status() |
Force comments_status to ‘closed’ for Forums post types |
BBP_Theme_Compat |
Theme Compatibility base class |
bbp_set_theme_compat_original_template() |
Set the theme compat original_template global |
bbp_is_theme_compat_original_template() |
Set the theme compat original_template global |
bbp_get_theme_compat_url() |
Gets the Forums compatable theme used in the event the currently active WordPress theme does not explicitly support Forums. This can be filtered, or set manually. Tricky theme authors can override the default and include their own Forums compatibility layers for their themes. |
bbp_is_theme_compat_active() |
Gets true/false if page is currently inside theme compatibility |
bbp_set_theme_compat_active() |
Sets true/false if page is currently inside theme compatibility |
bbp_set_theme_compat_templates() |
Set the theme compat templates global |
bbp_set_theme_compat_template() |
Set the theme compat template global |