Advertisement
shaashwato1308

WP MAIL

Oct 2nd, 2020 (edited)
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. $mailer = WC()->mailer();
  2. $rml_in_mail_subject = 'Order#' . $this_get_id . ' Status Changed;
  3. $message_body="";
  4. $to = "";
  5. $subject = "";
  6. $message = $mailer->wrap_message($rml_in_mail_subject, $message_body);
  7. $mailer->send($to, $subject . $to, $message);
  8.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement