Automattic\WooCommerce\Admin\Notes\MerchantEmailNotifications
NotificationEmail::get_email_type() public WC 1.0
Return email type.
{} Это метод класса: NotificationEmail{}
Хуков нет.
Возвращает
Строку.
Использование
$NotificationEmail = new NotificationEmail(); $NotificationEmail->get_email_type();
Код NotificationEmail::get_email_type() NotificationEmail::get email type WC 5.0.0
public function get_email_type() {
return class_exists( 'DOMDocument' ) ? 'html' : 'plain';
}