File: bp-forums/core/theme-compat.php |
Description |
---|---|
bbp_remove_adjacent_posts() |
Remove “prev” and “next” relational links from on bbPress pages. |
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. |
bbp_template_include_theme_compat |
Bail if the template already matches a Forums template. This includes archive-* and single-* WordPress post_type matches (allowing themes to use the expected format) as well as all Forums-specific template files for users, topics, forums, etc. |
bbp_redirect_canonical() |
Remove the canonical redirect to allow pretty pagination |
bbp_remove_all_filters() |
Removes all filters from a WordPress filter, and stashes them in the $bbp global in the event they need to be restored later. |
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 |