Reply To: [Resolved] Removing Widgets Altogether
Ok, I resolved the rest of it. I created a plugin and added this (it wouldn’t work until I raised the priority level to 20):
add_action( ‘widgets_init’, ‘my_plugin_widgets_init’, 20 );
function my_plugin_widgets_init() {
if( !is_main_site() ) {
unregister_widget('BP_Core_Friends_Widget');
unregister_widget('BP_Groups_Widget');
unregister_widget('BP_Messages_Sitewide_Notices_Widget');
}
}