Automattic\WooCommerce\Blocks\BlockTypes

ProductImage::register_block_type_assets()protectedWC 1.0

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.

Метод класса: ProductImage{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->register_block_type_assets();

Код ProductImage::register_block_type_assets() WC 8.7.0

protected function register_block_type_assets() {
	return null;
}