What is wrong with this piece of PHP code? This is for an email template. (I am completely new to PHP)


I am trying to make an email template with PHP on WordPress.
<p><?php esc_html_e( 'We have finished processing your order.', 'woocommerce' ); ?></p>
The above piece of code works just fine. However when I replace it with multiple lines such as:

<p><?php esc_html_e( 'Your order has been delivered.’, 'woocommerce'); ?></p> <?php 
<p><?php esc_html_e( 'We sincerely hope you loved the product(s). Looking forward to your feedback – please leave us a review on https://www.facebook.com/pg/daffodilsgirls/reviews/.', 'woocommerce'); ?></p> <?php
<p><?php esc_html_e('Once again, we thank you for shopping at https://www.branddaffodils.com. We hope to see you again soon!', 'woocommerce'); ?></p> <?php

This set does not work and causes an error. May I know why? Also, how am I supposed to make a link and do next line in php in this code?

Shreesh Agarwal 4 years 2020-07-13T16:11:12-05:00 0 Answers 56 views 0

Leave an answer