• Resolved justcam

    (@justcam)


    Hi
    Is it possible to turn off the emails going to the Admin. Alternately, can you set an alternate email for the Admin? Or can you set who the admin should be?

    My site has multiple admins, but ideally, I’d want all admin emails going to one email inbox.

    Thanks

    Cameron

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Adam – WPMU DEV Support

    (@wpmudev-support8)

    Hey @justcam,

    Hope you’re well.

    On my tests, only one admin gets the admin emails. Is that possible the others are the service provider? Service providers get a different email, so if they are admin and service provider maybe they are getting service provider email not admin email.

    All email settings are located Appointments > Settings > General > Notifications page. Maybe you can turn off confirmation required email with this option;

    If you want to stop admin emails completely you can try this code snippet in your theme’s functions.php;

    add_filter( 'app_confirmation_disable_admin', 'wpmudev_app_confirmation_disable_admin', 3, 20 );
    
    function wpmudev_app_confirmation_disable_admin( ){
    
        return true;
    
    }

    Cheers,
    Oguz

    Thread Starter justcam

    (@justcam)

    HI Oguz

    I get a message saying syntax error, unexpected ‘function’ (T_FUNCTION)

    Can you help?

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @justcam

    Hope all is well!

    I’ve tested the code from my end and could not reproduce the error.

    Please remove the code you’ve added to the functions.php, and copy-paste the code from the above and place it at the bottom of the file.

    If the error will not go away, please download a fresh copy of your theme, and upload it to /wp-content/themes/ by replacing the oldest theme’s files.

    I suggest creating a child theme, because after theme update the added changes will be lost.

    Please let me know how it went!

    Kind regards,
    Nastia

    Thread Starter justcam

    (@justcam)

    Worked this time perfectly

    Thanks

    Thread Starter justcam

    (@justcam)

    Ahh Damn picked up a snag – now the Provider doesn’t get an email confirming the appointment. Doesn;t seem to happen with cancellation – those notifications seem to be working fine.

    Thread Starter justcam

    (@justcam)

    Just a quick update

    Admin is also receiving emails after cancellations cancellations … and removals.

    Possibly the best way to resolve this would be to help me specify a different email address for confirmations and cancellations …. for the admin …

    Is that possible?

    Thread Starter justcam

    (@justcam)

    One workaround I have found is to change the site’s admin email in Settings-General-Email…

    That will work.

    But it would be better for me to be able to set an email for your plugin.

    Maybe it would be an idea to add a function to create a supervisor … who gets copied on all bookings and cancellations.

    Plugin Support Adam – WPMU DEV Support

    (@wpmudev-support8)

    Hey @justcam,

    Hope you’re well.

    If the above options does not solve your needs I am afraid we don’t have many things to do. Appointments not have detailed email options so it needs a lot of coding to make these options more in detail. So you need custom coding for that if you need to immediately.

    But I am taking this thread as a suggestion for next updates and will notify developers about this suggestion. I hope at the next versions we have more detailed email options.

    Cheers,
    Oguz

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Cancel Admin notifications’ is closed to new replies.