Home Forums Event Espresso Premium EE4 – Change notification after registration

EE4 – Change notification after registration

Posted: September 6, 2017 at 4:19 am


September 6, 2017 at 4:19 am


I know that EE4 defines notifications by event but I would like a different notification for a specific ticket of an event. Can I do that with an action like :

add_action('AHEE__EE_Registration_Processor__trigger_registration_update_notifications', 'custom_function_event', 1, 2);
function custom_function_event(EE_Registration $registration, $update_params = array())
// Custom code
$ticket_id = $registration->ticket_ID();
$tikcet_ID_target = array( 235 );
if (in_array($ticket_id, $tikcet_ID_target )) {

As you can see I wish also to change the statuts of the registration.
if you can help me on this point I will thank you twice.

Have a good day,


  • Support Staff

September 6, 2017 at 8:13 am

Hi Jacques,

The way forward on this will be to go through the existing code of an existing message type and the single page checkout code and base your custom functions off existing code. Also, instead of running a check for a specific ticket ID, you could add a meta field within the ticket editor and check for the ticket’s meta value. The meta key/value can be stored within the _esp_extra_meta table.

The support post ‘EE4 – Change notification after registration’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: closed

Updated by  Josh 2 years, 10 months ago ago

Topic Tags

Tagged: ,


This topic is: not resolved
Do NOT follow this link or you will be banned from the site!