Automattic\WooCommerce\Blocks\BlockTypes

MiniCartContents::get_block_type_style │ protected │ WC 1.0

Get the frontend style handle for this block type.

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

Хуков нет.

Возвращает

string[].

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_block_type_style();

Код MiniCartContents::get_block_type_style() WC 11.3.0

protected function get_block_type_style() {
	return array_merge( parent::get_block_type_style() ?? [], [ 'wc-blocks-packages-style' ] );
}