Currency::update_currency_option( string $new_currency_option )
Update currency option to the new value if the currency is unsupported.
Contents
Parameters
- $new_currency_option
-
(string) (Required)
Return
(void)
Source
File: src/Tickets/Commerce/Utils/Currency.php
public static function update_currency_option( $new_currency_option ) {
// Update currency option.
tribe_update_option( static::$currency_code_option, $new_currency_option );
}
Changelog
| Version | Description |
|---|---|
| 5.5.7 | Introduced. |