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