BP_Nouveau_Members::user_home_sidebar_set( string $sidebar_index = '' )

Add filters to be sure the (BuddyBoss) widgets display will be consistent with the displayed user’s default front page.

Description

Parameters

$sidebar_index

(Optional) The Sidebar identifier.

Default value: ''

Source

File: bp-templates/bp-nouveau/includes/members/loader.php

	public function user_home_sidebar_set( $sidebar_index = '' ) {
		if ( 'sidebar-buddypress-members' !== $sidebar_index ) {
			return;
		}

		$this->is_user_home_sidebar = true;

		// Add needed filters.
		bp_nouveau_members_add_home_widget_filters();
	}

Changelog

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.