BuddyPress::register_theme_packages()
Register bundled theme packages.
Description
Source
File: class-buddypress.php
public function register_theme_packages() { // Register the default theme compatibility package bp_register_theme_package( array( 'id' => 'nouveau', 'name' => __( 'BuddyPress Nouveau', 'buddyboss' ), 'version' => bp_get_version(), 'dir' => trailingslashit( $this->themes_dir . '/bp-nouveau' ), 'url' => trailingslashit( $this->themes_url . '/bp-nouveau' ) ) ); // Register the basic theme stack. This is really dope. bp_register_template_stack( 'get_stylesheet_directory', 10 ); bp_register_template_stack( 'get_template_directory', 12 ); bp_register_template_stack( 'bp_get_theme_compat_dir', 14 ); }
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.