WordPress at a glance
function is not described

Automattic\WooCommerce\Admin

ReportCSVEmail::get_email_type() public WC 1.0

Return email type.

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

No Hooks.

Return

String. Nothing.

Usage

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

Code of ReportCSVEmail::get_email_type() WC 5.3.0

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