-
pcwriter posted on the forum topic Hide Notification Settings in the group How-To and Troubleshooting: 13 years, 8 months ago
To remove the notifications subnav item, add the following snippet to your functions.php file:
function remove_notifications_subnav(){
global $bp;
if ( $bp->current_component == $bp->settings->slug ) {
bp_core_remove_subnav_item($bp->settings->slug, 'notifications');
}
}
add_action( 'wp', 'remove_notifications_subnav', 2 );This is…[Read more]
-
pcwriter posted on the forum topic Hide Notification Settings in the group How-To and Troubleshooting: 13 years, 8 months ago
Add the following remove_action to your functions.php or bp-custom.php file:
remove_action( ‘bp_adminbar_menus’, ‘bp_adminbar_notifications_menu’, 8 );
@jordynn
Not recently active