Hey everyone!
With the Labour Day holidays coming up, we’d like to let you know about our upcoming working hours:
Thursday, May 1st: Our team will be off during Labour Day.
Friday, May 2nd: We'll also be off for an extended holiday break.
We’ll be back on Monday, May 5th, ready to respond to all messages received during this time.
In the meantime, if you need help, feel free to:
-
Use the support widget on the bottom right of our websites (Amelia and wpDataTables) — our AI-powered assistant is available 24/7 and can help with many common questions.
-
Visit our documentation, articles, or YouTube channels for quick answers and step-by-step guides.
https://www.youtube.com/@AmeliaWordPressBookingPlugin/videos
https://www.youtube.com/@wpDataTables/videos
Thank you for being so understanding, and we hope you enjoy the long weekend!
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
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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);*/.