Okay
  Public Ticket #3795148
New User Bookings Receive wordpress email to sign up rather than Amelia Email!
Closed

Comments

  • Ed started the conversation

    When a new user purchases a class, the initial email is a Wordpress email asking them to set up a password. The problem with this, is that it's showing the backend Wordpress system rather than the website customer panel login page.

    So once the user signs up and sets the password they see the backend Wordpress page rather than the customer panel page.

    I've attached the Wordpress email after booking confirmation.

    Attached files:  wordpress login.jpg

  • Ed replied

    A temporary solution I've done is blocked the wp_new_user_notification_email from being sent. This isn't ideal and I will need a long-term solution.


    add_filter('wp_new_user_notification_email', 'custom_new_user_email', 10, 2);

    function custom_new_user_email($wp_new_user_notification_email, $user) {
        // Stop the default email by returning an empty array
        return [];
    }


  •  1,664
    Marko replied

    Hello there,

    Thank you for reaching out to us.

    This is not Amelia related and this is not up to us whit is up to WordPress.

    That's WordPress' default email for every new user. I don't know if you can disable it through WordPress settings, but I do know that you can do it with this plugin: https://wordpress.org/plugins/manage-notification-emails/

    Just disable the option “New user notification to the user” and you’ll be good.

    Oh and btw in case you wanna know where the code is, you might wanna open up this file: wp-includes/pluggable.php Line number: 1989

    So when you disable this through the 3rd party plugin, your customers will only receive notifications from Amelia, without the following email:

    "Username: ———

    To set your password, visit the following address"

    I hope that helps.

    Should you have any further inquiries, we kindly request that you open separate tickets for each question and we will gladly help you there.

    We wish you all the best and hope you have a wonderful day ahead. 

    Kind Regards, 

    Marko Davidovic [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables