I want to use wp hooks from the Amelia plugin for an event, the 'amelia_before_event_booking_saved' and 'amelia_after_event_booking_saved' hooks to be able to either redirect if the information filled in the form is not good or accept the reservation if the information is desired. The problem is that my function in my theme's function.php file doesn't perform any of the actions I ask it to. I tried locally with http and with an online site with https.
example of my basic function to test the hook :
function example($booking, $reservation) { var_dump('foo'); } add_action('amelia_after_booking_saved', 'example', 10, 2);
Please provide me a temporary WP-admin (administrator) user for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue.
We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course, we do not provide login data to third parties.
You can write credentials here just check PRIVATE Reply so nobody can see them except us.
As you mentioned previously, there are two hooks amelia_before_event_booking_saved and amelia_after_event_booking_saved, but you tried using "amelia_after_booking_saved" which doesn't exist. Try the other ones and let us know if they work.
Hello, I tried the good hooks 'amelia_before_event_booking_saved' and 'amelia_after_event_booking_saved', I can't see where I used 'amelia_after_booking_saved'. I tried this function: /*function example($booking, $reservation) { add_action('wp_footer', function(){) var_dump('toto'); }); } add_action('amelia_after_event_booking_saved', 'example', 99, 2);*/.
Hello,
I want to use wp hooks from the Amelia plugin for an event, the 'amelia_before_event_booking_saved' and 'amelia_after_event_booking_saved' hooks to be able to either redirect if the information filled in the form is not good or accept the reservation if the information is desired. The problem is that my function in my theme's function.php file doesn't perform any of the actions I ask it to. I tried locally with http and with an online site with https.
example of my basic function to test the hook :
function example($booking, $reservation) {
var_dump('foo');
}
add_action('amelia_after_booking_saved', 'example', 10, 2);
Hello Pierre,
Thanks for reaching out to us.
Please provide me a temporary WP-admin (administrator) user for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue.
We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course, we do not provide login data to third parties.
You can write credentials here just check PRIVATE Reply so nobody can see them except us.
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hello Pierre,
As you mentioned previously, there are two hooks amelia_before_event_booking_saved and amelia_after_event_booking_saved, but you tried using "amelia_after_booking_saved" which doesn't exist. Try the other ones and let us know if they work.
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hello,
I tried the good hooks 'amelia_before_event_booking_saved' and 'amelia_after_event_booking_saved', I can't see where I used 'amelia_after_booking_saved'.
I tried this function:
/*function example($booking, $reservation)
{
add_action('wp_footer', function(){)
var_dump('toto');
});
}
add_action('amelia_after_event_booking_saved', 'example', 99, 2);*/.