Automattic\WooCommerce\EmailEditor\Integrations\Utils

Html_Processing_Helper::get_caption_css_properties │ public static │ WC 1.0

Get list of safe CSS properties for caption typography (excludes background properties).

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

Хуков нет.

Возвращает

array. Array of safe CSS property names for captions.

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

$result = Html_Processing_Helper::get_caption_css_properties(): array;

Код Html_Processing_Helper::get_caption_css_properties() WC 11.2.2

public static function get_caption_css_properties(): array {
	return array(
		'font-family',
		'font-size',
		'font-weight',
		'font-style',
		'text-decoration',
		'line-height',
		'letter-spacing',
		'text-transform',
	);
}