【发布时间】:2020-11-04 01:19:51
【问题描述】:
我使用 wp_mail 从我的 WordPress 主题中发送通知。如何在以下 wp_mail 脚本中添加回复地址:
$recipient = "recipient@example.com";
$headers = array('Content-Type: text/html; charset=UTF-8','From: MyWebsite <'mywebsite@example.com'>');
$message = 'Here is the sent message';
wp_mail( $recipient, 'Here comes the Subject', $message, $headers );
【问题讨论】: