Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: [Resolved] Removing Widgets Altogether

@johnosmond

Participant

Partial solution (incomplete):

I created the bp-custom.php file but since I’m using multisite it must go in the mu-plugins folder, NOT the regular plugins folder.

In that file I placed (found from searches):

add_action( 'plugins_loaded', 'my_bp_mu_widgets_init' );
function my_bp_mu_widgets_init() {
	if( !is_main_site() ) {
		remove_all_actions('bp_register_widgets');
	}
}

That got rid of all but three widgets (Friends, Groups, and Site Wide Notices)

Anyone know how to get rid of those?

Skip to toolbar