BuddyPress::setup_theme()
Set up the default BuddyPress theme compatibility location.
Description Description
Source 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 Changelog
| Version | Description |
|---|---|
| 1.7.0 | Introduced. |