Automattic\WooCommerce\Internal\Admin\Notes

EmailNotification::get_headers()publicWC 1.0

Get email headers.

Method of the class: EmailNotification{}

Hooks from the method

Return

String.

Usage

$EmailNotification = new EmailNotification();
$EmailNotification->get_headers();

EmailNotification::get_headers() code WC 8.6.1

public function get_headers() {
	$header = 'Content-Type: ' . $this->get_content_type() . "\r\n";
	return apply_filters( 'woocommerce_email_headers', $header, $this->id, $this->object, $this );
}