WordPress at Your Fingertips
function is not described

wc_get_base_location() WC 2.3.0

Get the store's base location.

Hooks from the function

Return

Array.

Usage

wc_get_base_location();

Changelog

Since 2.3.0 Introduced.

Code of wc_get_base_location() WC 5.8.0

function wc_get_base_location() {
	$default = apply_filters( 'woocommerce_get_base_location', get_option( 'woocommerce_default_country', 'US:CA' ) );

	return wc_format_country_state_string( $default );
}