Support

Home Forums Roles and Permissions Add-ons (EE3) Roles and Permissions Pro Addon – Email

Roles and Permissions Pro Addon – Email

Posted: August 10, 2014 at 1:35 pm


mmk01

August 10, 2014 at 1:35 pm

Hello!

I purchased the pro-Addon an have a question: is it possible to send an email-notice to the event-espresso master admin if a new event is created?? This would be great!

Thanks in Advance ๐Ÿ™‚


Dean

August 11, 2014 at 1:03 am

Hi,

That isn’t a feature but it can be done by taking advantage of the various hooks in EE3.

For example you can use the action hook action_hook_espresso_insert_event_success to send a mail after an event has been added to the database.

I created a very basic example of how this can be done here: https://gist.github.com/Apina/ee4cb6913a44813c2c10

It is just an example and will likely need to be improved on before use, but it should give you a starting point.

That example can be added as a custom_functions.php file to wp-content/uploads/espresso, or alternatively you can turn it into a plugin.

The support post ‘Roles and Permissions Pro Addon – Email’ 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