/**
 * Should we use theme compat for this theme?
 *
 * If the current theme's need for theme compat hasn't yet been detected, we
 * do so using bp_detect_theme_compat_with_current_theme().
 *
 * @since BuddyPress (1.9.0)
 *
 * @uses bp_detect_theme_compat_with_current_theme()
 *
 * @return bool True if the current theme needs theme compatibility.
 */
function bp_use_theme_compat_with_current_theme()
{
    if (!isset(buddypress()->theme_compat->use_with_current_theme)) {
        bp_detect_theme_compat_with_current_theme();
    }
    return apply_filters('bp_use_theme_compat_with_current_theme', buddypress()->theme_compat->use_with_current_theme);
}
/**
 * Should we use theme compat for this theme?
 *
 * If the current theme's need for theme compat hasn't yet been detected, we
 * do so using bp_detect_theme_compat_with_current_theme().
 *
 * @since 1.9.0
 *
 * @uses bp_detect_theme_compat_with_current_theme()
 *
 * @return bool True if the current theme needs theme compatibility.
 */
function bp_use_theme_compat_with_current_theme()
{
    if (!isset(buddypress()->theme_compat->use_with_current_theme)) {
        bp_detect_theme_compat_with_current_theme();
    }
    /**
     * Filters whether or not to use theme compat for the active theme.
     *
     * @since 1.9.0
     *
     * @param bool $use_with_current_theme True if the current theme needs theme compatibility.
     */
    return apply_filters('bp_use_theme_compat_with_current_theme', buddypress()->theme_compat->use_with_current_theme);
}