Currency::get_unsupported_currencies()
Get unsupported currencies and notice texts.
Return
(array)
Source
File: src/Tickets/Commerce/Utils/Currency.php
public static function get_unsupported_currencies(): array {
/**
* Filter all unsupported currencies before returning.
*
* @since 5.5.7
*
* @return array
*/
return apply_filters( 'tec_tickets_commerce_unsupported_currencies', [
'HRK' => [
'heading' => __( 'Tickets Commerce is now selling with Euro', 'event-tickets' ),
'message' => __( 'From the 1st of January 2023, the euro became the official currency for Croatia. We have removed the Croatian Kuna from our currency settings and updated your settings to start selling with Euro.', 'event-tickets' ),
'new_value' => 'EUR',
],
]
);
}
Changelog
| Version | Description |
|---|---|
| 5.5.7 | Introduced. |