I have a WordPress website and it sends some transactional emails to the users. I create the template using HTML and I've been wondering if there's a way to add the <?php echo site_url() ?>
in there so I don't have to change it manually every time I create a new website.
I have already tried using the <?php echo site_url() ?>
in there, but it won't work.
Here's a sample of the code I am using
<td><a href="http://domain.com/" target="_blank">Deals</a></td>
Is there any way to achieve this?
Thank you in advance for the help, Kat
.html
or.php
?