edds_is_zero_decimal_currency( string $currency = '' )
Determines if the provided currency is a zero-decimal currency
Description Description
Parameters Parameters
- $currency
-
(Optional) Three-letter ISO currency code or an empty string. If empty, the shop's currency is used.
Default value: ''
Return Return
(bool)
Source Source
File: includes/gateways/stripe/includes/functions.php
Changelog Changelog
Version | Description |
---|---|
2.8.8 | $currency parameter added |
1.8.4 | Introduced. |