Automattic\WooCommerce\Blocks\BlockTypes
ProductSummary::register_block_type_assets()
Register script and style assets for the block type before it is registered.
This registers the scripts; it does not enqueue them.
Method of the class: ProductSummary{}
No Hooks.
Return
null
. Nothing (null).
Usage
// protected - for code of main (parent) or child class $result = $this->register_block_type_assets();
ProductSummary::register_block_type_assets() ProductSummary::register block type assets code WC 9.4.2
protected function register_block_type_assets() { $this->register_chunk_translations( [ $this->block_name ] ); }