WordPress at Your Fingertips
function is not described

WC_Cart_Fees::remove_all_fees() public WC 3.2.0

Remove all fees.

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

No Hooks.

Return

null. Nothing.

Usage

$WC_Cart_Fees = new WC_Cart_Fees();
$WC_Cart_Fees->remove_all_fees();

Changelog

Since 3.2.0 Introduced.

Code of WC_Cart_Fees::remove_all_fees() WC 5.7.0

public function remove_all_fees() {
	$this->set_fees();
}