File: bp-forums/core/theme-compat.php |
Description |
---|---|
bbp_remove_adjacent_posts() |
Remove “prev” and “next” relational links from on bbPress pages. |
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_Theme_Compat::__construct() |
Pass the $properties to the object on creation. |
BBP_Theme_Compat::__set() |
Set a theme’s property. |
BBP_Theme_Compat::__get() |
Get a theme’s property. |
bbp_register_theme_package() |
Register a new Forums theme package to the active theme packages array |
bbp_theme_compat_reset_post() |
This fun little function fills up some WordPress globals with dummy data to stop your average page template from complaining about it missing. |
bbp_template_include_theme_compat() |
Reset main query vars and filter ‘the_content’ to output a Forums template part as needed. |