admin管理员组文章数量:1334418
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?
本文标签: What is wrong with this piece of PHP code This is for an email template (I am completely new to PHP)
版权声明:本文标题:What is wrong with this piece of PHP code? This is for an email template. (I am completely new to PHP) 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742265327a2443281.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论