Automattic\WooCommerce\Blocks\BlockTypes\OrderConfirmation

AbstractOrderConfirmationBlock::render_content_fallbackprotectedWC 1.0

This is what gets rendered when the order does not exist. Renders nothing by default, but can be overridden by child classes.

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

Хуков нет.

Возвращает

Строку.

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

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

Код AbstractOrderConfirmationBlock::render_content_fallback() WC 10.4.3

protected function render_content_fallback() {
	return '';
}