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 proces

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 /.', 'woocommerce'); ?></p> <?php
<p><?php esc_html_e('Once again, we thank you for shopping at . 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?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742265327a4411675.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信