WordPress at a glance
function is not described

woocommerce_empty_cart() WC 1.0

Deprecated from version 3.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

No Hooks.

Return

null. Nothing.

Usage

woocommerce_empty_cart();

Changelog

Deprecated 3.0

Code of woocommerce_empty_cart() WC 5.2.2

<?php
function woocommerce_empty_cart() {
	wc_deprecated_function( __FUNCTION__, '3.0', 'wc_empty_cart' );
	wc_empty_cart();
}