WC_Countries::get_base_country
Get the base country for the store.
Method of the class: WC_Countries{}
Hooks from the method
Returns
String.
Usage
$WC_Countries = new WC_Countries(); $WC_Countries->get_base_country();
WC_Countries::get_base_country() WC Countries::get base country code WC 10.6.2
public function get_base_country() {
$default = wc_get_base_location();
return apply_filters( 'woocommerce_countries_base_country', $default['country'] );
}