@wjh
7 years, 11 months ago
Thanks @mairaj!
I just pasted it as is into my bp-custom.php and it worked a treat.
8 years, 6 months ago
@rodolvertice I found a solution by copying @shanebp’s code and replacing ‘set_from’ with ‘set_reply_to’, as in:
add_action( 'bp_email', function( $email_type, $email_obj ) { $email_obj->set_reply_to( "custom@example.com", "Custom Website Name" ); }, 10, 2 );