WordPress at Your Fingertips
function is not described

wc_mail() WC 1.0

Send HTML emails from WooCommerce.

No Hooks.

Return

true|false.

Usage

wc_mail( $to, $subject, $message, $headers, $attachments );
$to(mixed) (required)
Receiver.
$subject(mixed) (required)
Subject.
$message(mixed) (required)
Message.
$headers(string)
Headers. (default: "Content-Type: text/html\r\n").
Default: "Content-Type: text/html\r\n"
$attachments(string)
Attachments. (default: "").
Default: ''

Code of wc_mail() WC 5.8.0

function wc_mail( $to, $subject, $message, $headers = "Content-Type: text/html\r\n", $attachments = '' ) {
	$mailer = WC()->mailer();

	return $mailer->send( $to, $subject, $message, $headers, $attachments );
}