Skip to:
Content

BuddyPress.org

Changeset 7662


Ignore:
Timestamp:
12/10/2013 01:32:28 AM (11 years ago)
Author:
boonebgorges
Message:

Add filter to bp_use_theme_compat_with_current_theme()

There may be cases where plugins want to override BuddyPress's theme-compat-
detection logic.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-theme-compatibility.php

    r7457 r7662  
    250250    }
    251251
    252     return buddypress()->theme_compat->use_with_current_theme;
     252    return apply_filters( 'bp_use_theme_compat_with_current_theme', buddypress()->theme_compat->use_with_current_theme );
    253253}
    254254
Note: See TracChangeset for help on using the changeset viewer.