Warning: This method has been deprecated.
WC_Admin_Setup_Wizard::is_klarna_checkout_supported_country( string $country_code )
Is Klarna Checkout country supported.
Description Description
Parameters Parameters
- $country_code
-
(Required) Country code.
Source Source
File: includes/admin/class-wc-admin-setup-wizard.php
protected function is_klarna_checkout_supported_country( $country_code ) {
$supported_countries = array(
'SE', // Sweden.
'FI', // Finland.
'NO', // Norway.
'NL', // Netherlands.
);
return in_array( $country_code, $supported_countries, true );
}
Changelog Changelog
| Version | Description |
|---|---|
| 4.6.0 | Introduced. |