• How can I stop the mails sent when a new blog is registrated? I would like to do this within a Plugin.

    Cann anybody help?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Super Admin -> Options, there’s a section there to uncheck the ticky box that says:

    “Registration notification Send the network admin an email notification every time someone registers a site or user account.”

    Thread Starter lulewittchen

    (@lulewittchen)

    Thanks Andrea. I found that chackbox. But I’d also like to stop the mails sent to the user.

    We have our own system to do that. So I don’t want our customers to get 2 mails for the same thing.

    Thread Starter lulewittchen

    (@lulewittchen)

    it seems that I found a solution:

    i wrote a plugin whick hooks the the 2 functions ‘wpmu_welcome_notification’ and ‘wpmu_welcome_user_notification’

    I simply killed the wp_mail calls in them and replaced them with a none-sense function.

    Here is my code:
    `
    function my_nonesense() {
    return true;
    }

    remove_filter(‘wpmu_welcome_notification’, ‘wp_mail’);
    add_filter(‘wpmu_welcome_notification’, ‘my_nonesense’);
    remove_filter(‘wpmu_welcome_user_notification’, ‘wp_mail’);
    add_filter(‘wpmu_welcome_user_notification’, ‘my_nonesense’);

    Just what I need, but the above code isn’t working. I placed it inside an existing plugin. Any ideas?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WPMU remove wpmu_welcome_user_notification’ is closed to new replies.