WordPress at Your Fingertips
function is not described

woocommerce_mail() WC 1.0

Deprecated from version 3.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

No Hooks.

Return

null. Nothing.

Usage

woocommerce_mail( $to, $subject, $message, $headers, $attachments );
$to (required)
-
$subject (required)
-
$message (required)
-
$headers **
-
Default: "Content-Type: text/html\r\n"
$attachments **
-
Default: ""

Changelog

Deprecated 3.0

Code of woocommerce_mail() WC 6.1.1

function woocommerce_mail( $to, $subject, $message, $headers = "Content-Type: text/html\r\n", $attachments = "" ) {
	wc_deprecated_function( __FUNCTION__, '3.0', 'wc_mail' );
	wc_mail( $to, $subject, $message, $headers, $attachments );
}