Automattic\WooCommerce\Blocks\BlockTypes
ProductDetails::register_block_type_assets
It isn't necessary register block assets because it is a server side block.
Method of the class: ProductDetails{}
No Hooks.
Returns
null
. Nothing (null).
Usage
// protected - for code of main (parent) or child class $result = $this->register_block_type_assets();
ProductDetails::register_block_type_assets() ProductDetails::register block type assets code WC 9.9.4
protected function register_block_type_assets() { // Register block styles. register_block_style( 'woocommerce/product-details', array( 'name' => 'classic', 'label' => __( 'Classic', 'woocommerce' ), 'is_default' => true, ) ); register_block_style( 'woocommerce/product-details', array( 'name' => 'minimal', 'label' => __( 'Minimal', 'woocommerce' ), ) ); return null; }