Automattic\WooCommerce\Internal\Admin\Notes

EmailNotification::get_headers()publicWC 1.0

Get email headers.

Метод класса: EmailNotification{}

Hooks from the method

Return

String.

Usage

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

Код EmailNotification::get_headers() WC 7.1.0

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 );
}