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

Automattic\WooCommerce\Blocks\BlockTypes

Checkout::get_skeleton() protected WC 1.0

Render skeleton markup for the checkout block.

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

Хуков нет.

Возвращает

Null. Ничего.

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

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

Код Checkout::get_skeleton() WC 4.7.0

<?php
protected function get_skeleton() {
	return '
		<div class="wc-block-skeleton wc-block-components-sidebar-layout wc-block-checkout wc-block-checkout--is-loading wc-block-checkout--skeleton hidden" aria-hidden="true">
			<div class="wc-block-components-main wc-block-checkout__main">
				<div class="wc-block-components-express-payment wc-block-components-express-payment--checkout"></div>
				<div class="wc-block-components-express-payment-continue-rule wc-block-components-express-payment-continue-rule--checkout"><span></span></div>
				<form class="wc-block-checkout__form">
					<fieldset class="wc-block-checkout__contact-fields wc-block-components-checkout-step">
						<div class="wc-block-components-checkout-step__heading">
							<div class="wc-block-components-checkout-step__title"></div>
						</div>
						<div class="wc-block-components-checkout-step__container">
							<div class="wc-block-components-checkout-step__content">
								<span></span>
							</div>
						</div>
					</fieldset>
					<fieldset class="wc-block-checkout__contact-fields wc-block-components-checkout-step">
						<div class="wc-block-components-checkout-step__heading">
							<div class="wc-block-components-checkout-step__title"></div>
						</div>
						<div class="wc-block-components-checkout-step__container">
							<div class="wc-block-components-checkout-step__content">
								<span></span>
							</div>
						</div>
					</fieldset>
					<fieldset class="wc-block-checkout__contact-fields wc-block-components-checkout-step">
						<div class="wc-block-components-checkout-step__heading">
							<div class="wc-block-components-checkout-step__title"></div>
						</div>
						<div class="wc-block-components-checkout-step__container">
							<div class="wc-block-components-checkout-step__content">
								<span></span>
							</div>
						</div>
					</fieldset>
					<fieldset class="wc-block-checkout__contact-fields wc-block-components-checkout-step">
						<div class="wc-block-components-checkout-step__heading">
							<div class="wc-block-components-checkout-step__title"></div>
						</div>
						<div class="wc-block-components-checkout-step__container">
							<div class="wc-block-components-checkout-step__content">
								<span></span>
							</div>
						</div>
					</fieldset>
				</form>
			</div>
			<div class="wc-block-components-sidebar wc-block-checkout__sidebar">
				<div class="components-card"></div>
			</div>
			<div class="wc-block-components-main wc-block-checkout__main-totals">
				<div class="wc-block-checkout__actions">
					<button class="components-button button wc-block-button wc-block-components-checkout-place-order-button">&nbsp;</button>
				</div>
			</div>
		</div>
	' . $this->get_skeleton_inline_script();
}