SB Welcome Email Editor
[resolved] Disable New User Notifications to User (4 posts)

  1. Jpyper
    Posted 3 years ago #

    Hi Sean. I'm loving the plugin, but I've only got one problem with it.

    I need to disable new user notifications being sent out. I'm recreating an existing site in WordPress and need to preload users before launch but I need to manually send them new login info after the launch, not before.

    It should be simple to disable this. I tried doing it myself in functions.php by overriding the wp_new_user_notification plugin (from pluggables.php) but I got an error saying it was already declared in sb_welcome_email _editor.



  2. Sean Barton
    Plugin Author

    Posted 3 years ago #

    Hey Jpyper,

    You are more or less there. Overriding that function is the ONLY way to do it. You just need to make sure it gets loaded first. You need to create a new plugin with the letter A at the start of the directory name as plugins are loaded in alphabetical order.

    Use this blog post with example code inside it..


  3. Jpyper
    Posted 3 years ago #

    Thanks Sean. Ultimately what I didn't realize was that pluggable functions could only be overrode by plugins and not just through functions.php. That makes sense about loading order with plugins, useful information thanks.

  4. Sean Barton
    Plugin Author

    Posted 3 years ago #

    Yes it's depressing that they do it this way isn't it. Conflicts would be much easier to sort by adding a priority to the action or filter wouldn't they.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • SB Welcome Email Editor
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.