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

Add filters to be sure the (BuddyPress) widgets display will be consistent with the current group’s default front page.


Description Description


Parameters Parameters

$sidebar_index

(Optional) The Sidebar identifier.

Default value: ''


Top ↑

Source Source

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

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

		$this->is_group_home_sidebar = true;

		// Add needed filters.
		bp_nouveau_groups_add_home_widget_filters();
	}

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.