How to properly set bcc in all emails?
-
I use the filter ‘bp_email_set_bcc’ to set the bcc of all emails in bp. This is the custom code:
function site_bp_email_set_bcc($bcc) {
$bcc = new BP_Email_Recipient( ‘myemail@gmail.com’ );return $bcc;
}
add_filter(‘bp_email_set_bcc’, ‘site_bp_email_set_bcc’);It didn’t work. I guess the error is in the instantiation of BP_Email_Recipient?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.