Automattic\WooCommerce\Blocks\BlockTypes
ComingSoon::register_block_type_assets
It is necessary to register and enqueue assets during the render phase because we want to load assets only if the block has the content.
Method of the class: ComingSoon{}
No Hooks.
Returns
null
. Nothing (null).
Usage
// protected - for code of main (parent) or child class $result = $this->register_block_type_assets();
ComingSoon::register_block_type_assets() ComingSoon::register block type assets code WC 9.9.4
protected function register_block_type_assets() { parent::register_block_type_assets(); $this->register_chunk_translations( [ $this->block_name ] ); }