I have downloaded EE4 Decaf from the site and install over WordPress.
I have created certain events and displayed perfectly on frontside.
Now when user register event successfully, i want the attendee data.
For that i have used below code.
Below code work perfectly in previous version of EE plugin but does not show any result with EE4 Decaf while registration succeed.
<?php
function custom_espresso_save_attendee_data($attendee_data) {
//code Here
}
add_action('action_hook_espresso_save_attendee_data', 'custom_espresso_save_attendee_data', 10,1);
?>
I have downloaded EE4 Decaf from the site and install over WordPress.
I have created certain events and displayed perfectly on frontside.
Now when user register event successfully, i want the attendee data.
For that i have used below code.
Below code work perfectly in previous version of EE plugin but does not show any result with EE4 Decaf while registration succeed.
<?php
function custom_espresso_save_attendee_data($attendee_data) {
//code Here
}
add_action('action_hook_espresso_save_attendee_data', 'custom_espresso_save_attendee_data', 10,1);
?>
The reason that your custom code isn’t working with EE4 is because the hooks (and everything else for that matter) in EE3 are not compatible with EE4.
The support post ‘Hooks not working with EE4 Decaf ?’ 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.
If you would like help from the Event Espresso staff, then please purchase a support license right now so you can create a support topic in our premium support forums.