BP_Nouveau_Groups::group_home_sidebar_unset( string $sidebar_index = '' )

Remove filters to be sure the (BuddyBoss) widgets display will no more take the current group displayed in account.

Description

Parameters

$sidebar_index

(Optional) The Sidebar identifier.

Default value: ''

Source

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

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

		$this->is_group_home_sidebar = false;

		// Remove no more needed filters.
		bp_nouveau_groups_remove_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.