Automattic\WooCommerce\Blocks\BlockTypes\OrderConfirmation
Status::render_content_fallback
This is what gets rendered when the order does not exist.
Метод класса: Status{}
Хуков нет.
Возвращает
Строку.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->render_content_fallback();
Код Status::render_content_fallback() Status::render content fallback WC 11.0.0
protected function render_content_fallback() {
// phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingHookComment
return '<p>' . esc_html__( 'Please check your email for the order confirmation.', 'woocommerce' ) . '</p>';
}