Support is monitored from Monday to Saturday in office hours from the GMT timezone. Our response time can be up to 2 business days.

Notice: We do not accept any customization. Please Read Envato Support Policy. But we still can help with little snippets if that's possible!

Okay
  Print

Change Email Sender of BuddyPress Notifications

Please go to folder "wp-content/plugins" and open file "bp-custom.php". If you don't have it please create a new one

And the put this snippet into the file

<?php 
// Function to change email address
add_filter( 'wp_mail_from', 'wpb_sender_email' );
function wpb_sender_email( $original_email_address ) {
    return 'contact@lapakibuk.com';
}
 
// Function to change sender name
add_filter( 'wp_mail_from_name', 'wpb_sender_name' );
function wpb_sender_name( $original_email_from ) {
    return 'Mr Sultrio';
}

Change 'contact@lapakibuk.com' with any email you want and change 'Mr Sultrio' with any name you want.