ProductSKU::register_block_type_assets()protectedWC 1.0

Overwrite parent method to prevent script registration.

It is necessary to register and enqueues assets during the render phase because we want to load assets only if the block has the content.

Method of the class: ProductSKU{}

No Hooks.


null. Nothing (null).


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

ProductSKU::register_block_type_assets() code WC 8.9.0

protected function register_block_type_assets() {
	return null;