Automattic\WooCommerce\Admin

ReportCSVEmail::get_email_type()publicWC 1.0

Return email type.

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

No Hooks.

Return

String.

Usage

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

Code of ReportCSVEmail::get_email_type() WC 7.1.0

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