Browse: Home / Functions /

learndash_is_zero_decimal_currency

learndash_is_zero_decimal_currency( string $currency = '' )

Checks currency code is a zero decimal currency.


Description #


Parameters #

$currency

(string) (Optional) Stripe currency ISO code.

Default value: ''


Return #

(bool)


Source #

File: includes/payments/ld-payments-functions.php


Changelog #

Changelog
Version Description
4.1.0 Introduced.