Automattic\WooCommerce\Blocks\BlockTypes
AbstractProductGrid::get_block_type_style()
Get the frontend style handle for this block type.
Метод класса: AbstractProductGrid{}
Хуков нет.
Возвращает
Строку[]
.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_block_type_style();
Код AbstractProductGrid::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' ]; }