Automattic\WooCommerce\Blocks\BlockTypes

ProductSpecifications::get_block_type_styleprotectedWC 1.0

Get the frontend style handle for this block type.

Method of the class: ProductSpecifications{}

No Hooks.

Returns

String[].

Usage

// protected - for code of main (parent) or child class
$result = $this->get_block_type_style();

ProductSpecifications::get_block_type_style() code WC 10.3.6

protected function get_block_type_style() {
	$deps = parent::get_block_type_style();

	if ( ! is_array( $deps ) ) {
		return array( 'wp-block-table' );
	}

	return array_merge( array( 'wp-block-table' ), $deps );
}