Automattic\WooCommerce\Internal\Admin\Notes

EmailNotification::get_email_type()publicWC 1.0

Return email type.

Method of the class: EmailNotification{}

No Hooks.

Return

String.

Usage

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

EmailNotification::get_email_type() code WC 8.7.0

public function get_email_type() {
	return class_exists( 'DOMDocument' ) ? 'html' : 'plain';
}