Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Email notification?

$
0
0

Replies: 0

Hi,

You add a new feature in your last release: the possibility to create the email sent to the customer. Great.
Is it possible to write php code within the content of mail ?

I need to get 2 variations of this notification, one in french, and the other in english. So, I thought to use this field to write some php code in order to call a translation. I use Polylang, so something like that:

<?php echo pll__(‘Follow the link to track your parcel’); ?>
{tracking_details}

Thank a lot for any idea !
Best regards
Bertrand


Viewing all articles
Browse latest Browse all 59525

Trending Articles