WordPress at Your Fingertips
function is not described

WC_Email::get_email_type() public WC 1.0

Return email type.

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

No Hooks.

Return

String.

Usage

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

Code of WC_Email::get_email_type() WC 5.9.0

public function get_email_type() {
	return $this->email_type && class_exists( 'DOMDocument' ) ? $this->email_type : 'plain';
}