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