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.
Return
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 9.3.3
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' ]; }