WC_Cart::get_fees()

Return all added fees from the Fees API.


Description Description


Return Return

(array)


Top ↑

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;
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.