BuddyPress::setup_theme()
Set up the default BuddyPress theme compatibility location.
Description
Source
File: class-buddypress.php
public function setup_theme() {
// Bail if something already has this under control
if ( ! empty( $this->theme_compat->theme ) ) {
return;
}
// Setup the theme package to use for compatibility
bp_setup_theme_compat( bp_get_theme_package_id() );
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 1.7.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.