WC_Cart::get_fees()
Return all added fees from the Fees API.
Description Description
Return Return
(array)
Source Source
File: includes/class-wc-cart.php
public function get_fees() {
$fees = $this->fees_api()->get_fees();
if ( property_exists( $this, 'fees' ) ) {
$fees = $fees + (array) $this->fees;
}
return $fees;
}