get_lifterlms_currency()
Get the currency selected
Return Return
(string) Currency code.
Source Source
File: includes/functions/llms.functions.currency.php
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. |