WordPress at Your Fingertips
function is not described

WC_Email::get_email_type_options() public WC 1.0

Email type options.

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

No Hooks.

Return

Array.

Usage

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

Code of WC_Email::get_email_type_options() WC 5.9.0

public function get_email_type_options() {
	$types = array( 'plain' => __( 'Plain text', 'woocommerce' ) );

	if ( class_exists( 'DOMDocument' ) ) {
		$types['html']      = __( 'HTML', 'woocommerce' );
		$types['multipart'] = __( 'Multipart', 'woocommerce' );
	}

	return $types;
}