Currency::get_currency_code_fallback()
Retrieve a fallback currency code.
Return
(string)
Source
File: src/Tickets/Commerce/Utils/Currency.php
public static function get_currency_code_fallback() {
// Check if we have a value set from Tribe Commerce.
$currency_code = tribe_get_option( static::$legacy_currency_code_option, static::$currency_code_fallback );
// Duplicate the currency code in the Tickets Commerce key.
tribe_update_option( static::$currency_code_option, $currency_code );
return $currency_code;
}