Automattic\WooCommerce\Internal\Admin\Notes
EmailNotification::get_email_type()
Return email type.
Method of the class: EmailNotification{}
No Hooks.
Return
String
.
Usage
$EmailNotification = new EmailNotification(); $EmailNotification->get_email_type();
EmailNotification::get_email_type() EmailNotification::get email type code WC 9.7.1
public function get_email_type() { return class_exists( 'DOMDocument' ) ? 'html' : 'plain'; }