WordPress at a glance
function is not described

wc_get_base_location() WC 2.3.0

Get the store's base location.

Hooks from the function
Return

Array. Nothing.

Usage

wc_get_base_location();

Changelog

Since 2.3.0 Introduced.

Code of wc_get_base_location() WC 5.3.0

<?php
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 );
}