Automattic\WooCommerce\Blocks\BlockTypes\OrderConfirmation

AbstractOrderConfirmationBlock::render_content_fallback()protectedWC 1.0

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

Method of the class: AbstractOrderConfirmationBlock{}

No Hooks.

Return

String.

Usage

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

AbstractOrderConfirmationBlock::render_content_fallback() code WC 8.9.0

protected function render_content_fallback() {
	return '';
}