Hey there, Awesome Customers!
Just a heads up: We'll be taking a breather to celebrate International Workers' Day (May 1st and 2nd - Wednesday and Thursday) and Orthodox Easter from Good Friday (May 3rd) through Easter Monday (May 6th). So, from May 1st to May 6th, our team will be off enjoying some well-deserved downtime.
During this time, our customer support will be running on a smaller crew, but don't worry! We'll still be around to help with any urgent matters, though it might take us a bit longer than usual to get back to you.
We'll be back in action at full throttle on May 7th (Tuesday), ready to tackle your questions and requests with gusto!
In the meantime, you can explore our documentation for Amelia and wpDataTables. You'll find loads of helpful resources, including articles and handy video tutorials on YouTube (Amelia's YouTube Channel and wpDataTables' YouTube Channel). These gems might just have the answers you're looking for while we're kicking back.
Thanks a bunch for your understanding and support!
Catch you on the flip side!
Warm regards,
TMS
Hi,
I would like to use one of your WP hooks for a newsletter subscription.
To do this I will create a custom field (checkbox) and whenever this field is checked a subscription to our email marketing system (EmailOctopus) need to be processed. Which of the hooks is the best I can use for this job?
I would say I need to use the action hook "amelia_after_appointment_added" but the information says "Users can use this hook to do an action after an appointment is added from the backend."
If an appointment is not added (for some reason) the subscription will not be processed. Maybe it's better to use "amelia_before_appointment_added" instead?
A second question is, is all the submitted form data available inside the function argument $appointment?
Thanks and kind regards
Olaf
Hello Olaf,
Amelia currently has the following hooks:
These are the same hooks used in Google Analytics and Facebook Pixel integrations, but if you need some other hooks added, please let us know which ones and explain what they would contain and when they should be triggered.
Kind Regards,
Uros Jovanovic
[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
Hi Uros,
My question is actually about these hooks:
https://wpamelia.com/amelia-hooks/
Hello Olaf,
Thank you for clearing that up.
I have passed your question to our developers and will provide you with an update on this as soon as possible.
Kind Regards,
Uros Jovanovic
[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 Olaf,
Thank you for your patience.
If you want the subscription to go through even if the booking fails and is not added (like if the payment fails) you should use amelia_before_booking_added and amelia_before_appointment_added. The booking hooks are for the booking form where clients book and appointment hooks are for the backend.
If you are going to update appointments from the backend and change this custom field than you should also implement the amelia_before_appointment_updated hook, for consistency.
Also the appointmentData should have the custom fields inside the bookings array, under customFields. This will be an array of all custom fields and if the checkbox is selected it will have a the label under value, if not the value array will be empty.
Kind Regards,
Uros Jovanovic
[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
Thanks Uros, that was exact the information I need.
Hello Olaf,
Glad to be able to assist you and my apologies for the first response.
Please let me know if you have any other questions.
Kind Regards,
Uros Jovanovic
[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