edd_get_cart_tax_rate( string $country = '', string $state = '', string $postal_code = '' )

Gets the tax rate charged on the cart.


Description Description


Parameters Parameters

$country

(Optional) Country code for tax rate.

Default value: ''

$state

(Optional) State for tax rate.

Default value: ''

$postal_code

(Optional) Postal code for tax rate. Not used by core, but for developers.

Default value: ''


Top ↑

Return Return

(float) Tax rate.


Top ↑

Source Source

File: includes/cart/functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.7 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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