get_lifterlms_currency()

Get the currency selected


Return Return

(string) Currency code.


Top ↑

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' ) );

}


Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Added USD as default when no option is set.
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.