Automattic\WooCommerce\Internal\Admin\Notes

EmailNotification::get_email_type()publicWC 1.0

Return email type.

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

No Hooks.

Return

String.

Usage

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

Код EmailNotification::get_email_type() WC 7.1.0

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