wc_importer_current_locale()
Importer current locale.
No Hooks.
Returns
String.
Usage
wc_importer_current_locale();
Changelog
| Since 3.1.0 | Introduced. |
wc_importer_current_locale() wc importer current locale code WC 10.4.3
function wc_importer_current_locale() {
$locale = get_locale();
if ( function_exists( 'get_user_locale' ) ) {
$locale = get_user_locale();
}
return $locale;
}