Automattic\WooCommerce\EmailEditor\Engine\Renderer

Html2Text::default_options │ public static │ WC 1.0

Default options for HTML to text conversion

Метод класса: Html2Text{}

Хуков нет.

Возвращает

array<string, bool|string>. Default options array.

Использование

$result = Html2Text::default_options(): array;

Код Html2Text::default_options() WC 11.2.2

public static function default_options(): array {
	return array(
		'ignore_errors' => false,
		'drop_links'    => false,
		'char_set'      => 'auto',
	);
}