Automattic\WooCommerce\Blocks\BlockTypes

AbstractProductGrid::get_block_type_style()protectedWC 1.0

Get the frontend style handle for this block type.

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

Хуков нет.

Возвращает

Строку[].

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

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

Код AbstractProductGrid::get_block_type_style() WC 9.5.1

protected function get_block_type_style() {
	// Currently these blocks rely on the styles from the All Products block.
	return [ 'wc-blocks-style', 'wc-blocks-style-all-products' ];
}