wc_get_base_location()
Get the store’s base location.
Description Description
Return Return
(array)
Source Source
File: includes/wc-core-functions.php
function wc_get_base_location() {
$default = apply_filters( 'woocommerce_get_base_location', get_option( 'woocommerce_default_country' ) );
return wc_format_country_state_string( $default );
}
Changelog Changelog
| Version | Description |
|---|---|
| 2.3.0 | Introduced. |