Automattic\WooCommerce\Blocks\BlockTypes

ProductButton::register_block_type_assets()protectedWC 1.0

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.

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

Хуков нет.

Возвращает

null. Ничего.

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

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

Код ProductButton::register_block_type_assets() WC 7.5.1

protected function register_block_type_assets() {
	return null;
}