Automattic\WooCommerce\Blocks\BlockTypes
AbstractProductGrid::get_block_type_style
Get the frontend style handle for this block type.
Method of the class: AbstractProductGrid{}
No Hooks.
Returns
string[].
Usage
// protected - for code of main (parent) or child class $result = $this->get_block_type_style();
AbstractProductGrid::get_block_type_style() AbstractProductGrid::get block type style code WC 11.2.2
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' ];
}