Support

Home Forums Event Espresso Premium Private event – will it send upcoming datetime notifications

Private event – will it send upcoming datetime notifications

Posted: May 6, 2020 at 11:43 am


Daniel

May 6, 2020 at 11:43 am

Hello!

We set events to private to hide them from the website.

If there are registrations on a private event will the upcoming datetime notifications message be sent to those registered emails?

If so, what is the best way to prevent that from happening?

We want to keep the notifications on for public events.

Thanks in advance for any guidance if I am asking the wrong question or not seeing something obvious that would be easy to customize.

D


Tony

  • Support Staff

May 7, 2020 at 6:22 am

Hi Daniel,

By default, the AUEN add-on will only pull events with a status of publish or sold out, so private events (which have a status of ‘private’) would be excluded from the query.

If preferred you can confirm this yourself by searching for the FHEE__EventEspresso_AutomatedUpcomingEventNotifications_domain_services_commands_message__eventStatusForRegistrationsQuery filter within the add-ons code.

You’ll see something like this:

protected function eventStatusForRegistrationsQuery()
{
    return (array) apply_filters(
        'FHEE__EventEspresso_AutomatedUpcomingEventNotifications_domain_services_commands_message__eventStatusForRegistrationsQuery',
        array('publish', EEM_Event::sold_out)
    );
}

Meaning it returns an array with ‘publish’ and ‘sold_out’ as values, although obviously that array is filtered so you could be adding additional statuses (stati depending on where you are 🙂 ) but I’m guessing you then wouldn’t be asking the above.


Daniel

May 7, 2020 at 10:23 am

Thank you for the kind reply and information.

Coming up on my first year with EE and I have to say I am satisfied with all the capabilities.

Thanks for a great product and great support!
D

The support post ‘Private event – will it send upcoming datetime notifications’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso