WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks

BlockTypesController::get_atomic_blocks() protected WC 1.0

Get atomic blocks types.

{} It's a method of the class: BlockTypesController{}

No Hooks.

Return

Array.

Usage

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

Code of BlockTypesController::get_atomic_blocks() WC 5.7.1

protected function get_atomic_blocks() {
	return [
		'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',
		'checkout-fields-block',
		'checkout-totals-block',
		'checkout-billing-address-block',
		'checkout-actions-block',
		'checkout-contact-information-block',
		'checkout-order-note-block',
		'checkout-order-summary-block',
		'checkout-payment-block',
		'checkout-shipping-address-block',
		'checkout-shipping-methods-block',
		'checkout-express-payment-block',
		'checkout-terms-block',
	];
}