Fixes add reply-to to admin emails ref #11630
This commit is contained in:
parent
c7fc7cce07
commit
41d079f086
|
@ -279,6 +279,7 @@ class WC_Email extends WC_Settings_API {
|
|||
*/
|
||||
public function get_headers() {
|
||||
$header = "Content-Type: " . $this->get_content_type() . "\r\n";
|
||||
|
||||
if ( 'new_order' === $this->id ) {
|
||||
$header .= "Reply-to: {$this->object->billing_first_name} {$this->object->billing_last_name} <{$this->object->billing_email}>\r\n";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue