BP_Nouveau_Object_Nav_Widget::__construct()
Constructor
Description
Source
File: bp-templates/bp-nouveau/includes/classes.php
public function __construct() {
$widget_ops = array(
'description' => __( 'Displays BuddyBoss primary nav in the sidebar of your site. Make sure to use it as the first widget of the sidebar and only once.', 'buddyboss' ),
'classname' => 'widget_nav_menu buddypress_object_nav',
);
parent::__construct(
'bp_nouveau_sidebar_object_nav_widget',
__( '(BB) Primary navigation', 'buddyboss' ),
$widget_ops
);
}
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.