BP_Nouveau::setup_globals()
BP Nouveau global variables.
Description
Source
File: bp-templates/bp-nouveau/buddypress-functions.php
protected function setup_globals() {
$bp = buddypress();
foreach ( $bp->theme_compat->packages['nouveau'] as $property => $value ) {
$this->{$property} = $value;
}
$this->includes_dir = trailingslashit( $this->dir ) . 'includes/';
$this->directory_nav = new BP_Core_Nav();
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 3.0.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.