Automattic\WooCommerce\Blocks\BlockTypes

Checkout::get_checkout_block_types()public staticWC 1.0

Get list of Checkout block & its inner-block types.

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

Хуков нет.

Возвращает

Массив;.

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

$result = Checkout::get_checkout_block_types();

Код Checkout::get_checkout_block_types() WC 6.9.1

public static function get_checkout_block_types() {
	return [
		'Checkout',
		'CheckoutActionsBlock',
		'CheckoutBillingAddressBlock',
		'CheckoutContactInformationBlock',
		'CheckoutExpressPaymentBlock',
		'CheckoutFieldsBlock',
		'CheckoutOrderNoteBlock',
		'CheckoutOrderSummaryBlock',
		'CheckoutOrderSummaryCartItemsBlock',
		'CheckoutOrderSummaryCouponFormBlock',
		'CheckoutOrderSummaryDiscountBlock',
		'CheckoutOrderSummaryFeeBlock',
		'CheckoutOrderSummaryShippingBlock',
		'CheckoutOrderSummarySubtotalBlock',
		'CheckoutOrderSummaryTaxesBlock',
		'CheckoutPaymentBlock',
		'CheckoutShippingAddressBlock',
		'CheckoutShippingMethodsBlock',
		'CheckoutTermsBlock',
		'CheckoutTotalsBlock',
	];
}