sts_mail

/**
* Creates the Ticket Email and sends it
*
* @since     1.0.0
*
* @param    (string)     $to                Receiver Email address
* @param    (string)     $subject        Email subject
* @param    (string)     $body            Email body
* @param    (array)     $headers        Email headers
* @param    (array)     $attachments    Email attachments
* @return   (bool)
*/

Wraps the WordPress function wp_mail(). Before the mail will be send, the HTML wrapper will be applied and wp_mail() will be told to use text/html as content-type.

 

Uses the following filters: sts-email-wrapper, sts-before-send-email