WordPress at Your Fingertips
function is not described

WC_Emails::send() public WC 1.0

Send the email.

{} It's a method of the class: WC_Emails{}

No Hooks.

Return

true|false.

Usage

$WC_Emails = new WC_Emails();
$WC_Emails->send( $to, $subject, $message, $headers, $attachments );
$to(mixed) (required)
Receiver.
$subject(mixed) (required)
Email subject.
$message(mixed) (required)
Message.
$headers(string)
Email headers (default: "Content-Type: text/html\r\n").
Default: "Content-Type: text/html\r\n"
$attachments(string)
Attachments (default: "").
Default: ''

Code of WC_Emails::send() WC 5.6.0

public function send( $to, $subject, $message, $headers = "Content-Type: text/html\r\n", $attachments = '' ) {
	// Send.
	$email = new WC_Email();
	return $email->send( $to, $subject, $message, $headers, $attachments );
}