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

Remove filters to be sure the (BuddyPress) widgets display will no more take the displayed user in account.


Parameters Parameters

$sidebar_index

(string) (Optional) The Sidebar identifier.

Default value: ''


Source Source

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

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

		$this->is_user_home_sidebar = false;

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