WordPress at a glance
function is not described

woocommerce_clear_cart_after_payment() 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_clear_cart_after_payment();

Changelog

Deprecated 3.0

Code of woocommerce_clear_cart_after_payment() WC 5.2.2

<?php
function woocommerce_clear_cart_after_payment() {
	wc_deprecated_function( __FUNCTION__, '3.0', 'wc_clear_cart_after_payment' );
	wc_clear_cart_after_payment();
}