Introduction
BuddyBoss does not provide a built-in option to disable admin notifications after user registration. You can use a custom function code to prevent the admin from receiving emails when new users register. The focus keyword for this guide is Disable Admin Notification.
Custom Workaround
- Navigate to WordPress dashboard > Appearance > Theme Editor
- Under Select theme to edit, choose your active theme (e.g., BuddyBoss Child), then click Select
- In Theme Files, select Theme Functions (functions.php)
- Append the following code just before the closing PHP tag ?>:
remove_action( 'register_new_user', 'wp_send_new_user_notifications' );
remove_action( 'edit_user_created_user', 'wp_send_new_user_notifications', 10 );
add_action( 'register_new_user', 'bb_wp_send_new_user_notifications', 10, 2 );
add_action( 'edit_user_created_user', 'bb_wp_send_new_user_notifications', 10, 2 );
function bb_wp_send_new_user_notifications( $user_id, $notify = 'user' ) {
switch($notify) {
case 'admin':
$notify = 'none';
break;
case 'both':
$notify = 'user';
break;
}
wp_new_user_notification($user_id, null, $notify);
}- Click Update File to save the changes
Troubleshooting and FAQs
Q: The admin still receives notifications, what should I check?
A: Ensure the code was added correctly just before the closing PHP tag ?>. Clear any caching plugins or server-side cache if necessary
Q: Can I restore the default notifications?
A: Yes. Remove the custom function code to revert to the default WordPress behavior
Q: Will this affect user notifications?
A: No. This code only modifies notifications sent to the admin. Users will still receive their registration emails
Q: Who can I contact for further assistance?
A: Submit a support ticket through your BuddyBoss account dashboard for personalized help