File: bp-core/bp-core-theme-compatibility.php |
Description |
|---|---|
| bp_set_theme_compat_original_template() |
Set the theme compat original_template global. |
| bp_set_theme_compat_feature() |
Set a theme compat feature |
| bp_get_theme_compat_feature() |
Get a theme compat feature |
| bp_is_theme_compat_original_template() |
Check whether a given template is the one that WP originally selected to display current page. |
| bp_register_theme_package() |
Register a new BuddyPress theme package in the active theme packages array. |
| bp_theme_compat_reset_post() |
Populate various WordPress globals with dummy data to prevent errors. |
| 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. |
| bp_template_include_theme_compat |
Filters the template name to include. |
| bp_replace_the_content() |
Conditionally replace ‘the_content’. |