In plugin backend there are Web Hooks as I can see, but I need a php hook, to insert in the functions.php when an appointment prenotation is completed, to update my custom DB table.
Could you providide to me the hook? I can't find anything on internet.
Unfortunately, there isn't such option in Amelia with its current built-in features and there are no hooks for actions or filters for that matter in Amelia. There are a few JS hooks which are triggered depending on the view:
Hi,
In plugin backend there are Web Hooks as I can see, but I need a php hook, to insert in the functions.php when an appointment prenotation is completed, to update my custom DB table.
Could you providide to me the hook? I can't find anything on internet.
Thank you
Hi Matteo,
Thank you for your question.
Unfortunately, there isn't such option in Amelia with its current built-in features and there are no hooks for actions or filters for that matter in Amelia. There are a few JS hooks which are triggered depending on the view:
Thank you, that can help me.
When i'm calling this function
can I set the value of "FirstName", "LastName" and a Custom Field in JS? if Yes could you provide me an example?
I saw those functions (attachment file) in the browser console.
Thank you
Hi Matteo,
You can try with something like this:
You can also check out this thread (for example), to see how you can populate form fields using jQuery.
Hi!!!
I would like to ask if is it possible, via a function in functions.php detect when an appointment is moved or removed from backend?
Thank you
Hello Matteo,
Can you please elaborate a bit more, what is the use-case?