get_lifterlms_currency()
Get the currency selected
Return Return
(string) Currency code.
Source Source
File: includes/functions/llms.functions.currency.php
21 22 23 24 25 26 27 28 29 30 31 32 33 34 | function get_lifterlms_currency() { /** * Hook Summary * * Hook description. * * @since Unknown * * @param string $currency Currency code. */ return apply_filters( 'lifterlms_currency' , get_option( 'lifterlms_currency' , 'USD' ) ); } |
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Added USD as default when no option is set. |
1.0.0 | Introduced. |