• Resolved rybo3000

    (@rybo3000)


    Hello friends,

    I currently have BP Registration set to have me moderate newly registered users. On my main multisite network settings, I have unchecked to box to receive emails whenever a new user registers. I am still receiving emails from the BP Registration plugin, however.

    Is there any way to deactivate emails form BP Registration, without deactivating moderation?

    Thanks!

    https://www.ads-software.com/plugins/bp-registration-options/

Viewing 1 replies (of 1 total)
  • Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hmm, valid question. We use wp_mail() in a couple places. The easiest but most “destructive” way would be to just declare your own function wp_mail(){ return false; } and the mailing won’t work at all. wp_mail is considered a pluggable function which means WP Core only declares it if there isn’t another function of the same name already. However, like I said, that will “destroy” it for absolutely everything in your site that may rely on it.

    Otherwise, I’m not sure the best way to prevent this conditionally, but some googling around may help find a solution.

Viewing 1 replies (of 1 total)
  • The topic ‘Deactivating emails when registration moderation is active’ is closed to new replies.