Tribe__Tickets__Admin__Notices::maybe_display_unsupported_currency_notice()
Display notices for unsupported currencies.
Return
(void)
Source
File: src/Tribe/Admin/Notices.php
public function maybe_display_unsupported_currency_notice() { if ( Currency::is_current_currency_supported() ) { return; } $message = sprintf( '<h3>%1$s</h3><p>%2$s</p>', esc_html( Currency::$unsupported_currency['heading'] ), esc_html( Currency::$unsupported_currency['message'] ) ); $notice_symbol = Currency::$unsupported_currency['symbol']; tribe_notice( "event-tickets-unsupported-currencies-{$notice_symbol}", $message, [ 'dismiss' => true, 'type' => 'warning', ] ); }
Changelog
Version | Description |
---|---|
5.5.7 | Introduced. |