File: bp-core/bp-core-theme-compatibility.php |
Description |
---|---|
bp_remove_all_filters() |
Remove all filters from a WordPress filter hook. |
bp_restore_all_filters() |
Restore filters that were removed using bp_remove_all_filters(). |
bp_comments_open() |
Force comments_status to ‘closed’ for BuddyPress post types. |
bp_force_comment_status |
Filters whether or not to force comments_status to closed for BuddyPress post types. |
bp_theme_compat_toggle_is_page() |
Do not allow {@link comments_template()} to render during theme compatibility. |
bp_theme_compat_loop_end() |
Restores the ‘is_single’ and ‘is_page’ flags if toggled by BuddyPress. |
bp_check_theme_template_pack_dependency() |
Maybe override the preferred template pack if the theme declares a dependency. |
bp_do_theme_compat() |
Are we currently replacing the_content? |
bp_template_include_theme_compat() |
Reset main query vars and filter ‘the_content’ to output a BuddyPress template part as needed. |
bp_template_include_reset_dummy_post_data |
Fires when resetting main query vars and filtering ‘the_content’ to output BuddyPress template parts. |