We'd like to have the new conversation notification go to a specific recipient and not go to the administrator at all (who is our developer and not involved in day-to-day ops)
I found this code from another ticket, but how do we exclude the current WP admin, not just add an additional email recipient?
add_filter('b2bking_recipient_new_message', 'change_recipient',10,2);
function change_recipient($recipient, $conversation){ $second_admin = '[email protected]'; $recipient = $recipient.','.$second_admin; return $recipient;
}