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: ''
Return Return
(float) Tax rate.
Source Source
File: includes/cart/functions.php
Changelog Changelog
Version | Description |
---|---|
2.7 | Introduced. |