WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

Automattic\WooCommerce\Blocks

Library::register_atomic_blocks() protected WC 1.0

Register atomic blocks on the PHP side.

{} Это метод класса: Library{}

Хуков нет.

Возвращает

Null. Ничего.

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

$result = Library::register_atomic_blocks();

Код Library::register_atomic_blocks() WC 4.7.0

<?php
protected static function register_atomic_blocks() {
	$atomic_blocks = [
		'product-title',
		'product-button',
		'product-image',
		'product-price',
		'product-rating',
		'product-sale-badge',
		'product-summary',
		'product-sku',
		'product-category-list',
		'product-tag-list',
		'product-stock-indicator',
		'product-add-to-cart',
	];
	foreach ( $atomic_blocks as $atomic_block ) {
		$instance = new \Automattic\WooCommerce\Blocks\BlockTypes\AtomicBlock( $atomic_block );
		$instance->register_block_type();
	}
}