BP_Nouveau_Object_Nav_Widget::__construct()

Constructor


Description Description


Source Source

File: bp-templates/bp-nouveau/includes/classes.php

	public function __construct() {
		$widget_ops = array(
			'description' => __( 'Displays BuddyPress primary nav in the sidebar of your site. Make sure to use it as the first widget of the sidebar and only once.', 'buddypress' ),
			'classname'   => 'widget_nav_menu buddypress_object_nav',
		);

		parent::__construct(
			'bp_nouveau_sidebar_object_nav_widget',
			__( '(BuddyPress) Primary navigation', 'buddypress' ),
			$widget_ops
		);
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.