PluginProbe
Fluent Support – Helpdesk & Customer Support Ticket System / 2.4.0
Fluent Support – Helpdesk & Customer Support Ticket System v2.4.0
2.4.0 2.3.2 2.3.1 2.3.0 2.2.1 2.2.0 trunk 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4 1.10.5 1.4.0 1.4.1 1.4.2 1.4.5 1.4.6 1.4.7 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 All 68 releases
← All changes | app/Services/Mailer.php +2 -2 1.4.52.4.0 View file →
@@ -6,9 +6,9 @@
6 6 use FluentSupport\Framework\Support\Arr;
7 7
8 8 class Mailer
9 9 {
10 - public static function send($to, $subject, $body, $extraHeader = [])
10 + public static function send($to, $subject, $body, $extraHeader = [], $attachments = [])
11 11 {
12 12 $headers = self::getHeaders();
13 13
14 14 if($extraHeader) {
@@ -16,9 +16,9 @@
16 16 $headers[] = $header;
17 17 }
18 18 }
19 19
20 - return wp_mail($to, $subject, $body, $headers);
20 + return wp_mail($to, $subject, $body, $headers, $attachments);
21 21 }
22 22
23 23 public static function getHeaders()
24 24 {