您可以添加bp\\u core\\u signup\\u send\\u activation\\u密钥筛选器,以防止发送激活电子邮件,如下所示
add_filter(\'bp_core_signup_send_activation_key\', \'my_bp_core_signup_send_activation_key\', 10, 5);
function my_bp_core_signup_send_activation_key($send, $user_id, $user_email, $activation_key, $usermeta) {
return false;
}