Automattic\WooCommerce\Blocks\BlockTypes
ProductImage::register_block_type_assets()
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
. Ничего.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->register_block_type_assets();
Код ProductImage::register_block_type_assets() ProductImage::register block type assets WC 7.7.2
protected function register_block_type_assets() { return null; }