I wold like to send on email notification the url page that user was when he made the schedule, or at least the id post.
When I put the code to get the URL, the return is the plugin URL and not WordPress URL, and if I try to get a $post variable, the plugin doesn’t find it.
Please, see below:
$url_atual = “http” . (isset($_SERVER[HTTPS]) ? (($_SERVER[HTTPS]==”on”) ? “s” : “”) : “”) . “://” . “$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]”;
I added a aditional code on
that worked very well:
<?php <?php $url = $_SERVER[‘HTTP_REFERER’]; echo $url; ?>
I would like to see what house the customer was seeing when he or she made the appointment.
See it: https://www.wesimoveis.com/imoveis/excelente-casa-jd-colonia/
I suggest you add this code on your next updates.
By the way, it’s a great plugin!!!
Thank you so much!!! I am starting my business now with very little cash, but I promise as I sell a house I will donate or buy the full product.
appointment is made via ajax code maybe you want a custom callback that can be used to add additional data inside?