WordPress at Your Fingertips
function is not described

WC_AJAX::update_order_review_expired() private WC 1.0

Session has expired.

{} It's a method of the class: WC_AJAX{}

Return

null. Nothing.

Usage

$result = WC_AJAX::update_order_review_expired();

Code of WC_AJAX::update_order_review_expired() WC 5.9.0

private static function update_order_review_expired() {
	wp_send_json(
		array(
			'fragments' => apply_filters(
				'woocommerce_update_order_review_fragments',
				array(
					'form.woocommerce-checkout' => '<div class="woocommerce-error">' . __( 'Sorry, your session has expired.', 'woocommerce' ) . ' <a href="' . esc_url( wc_get_page_permalink( 'shop' ) ) . '" class="wc-backward">' . __( 'Return to shop', 'woocommerce' ) . '</a></div>',
				)
			),
		)
	);
}