最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin3浏览0评论

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?

发布评论

评论列表(0)

  1. 暂无评论