WC_Countries::get_base_country │ public │ WC 1.0

Get the base country for the store.

Метод класса: WC_Countries{}

Хуки из метода

Возвращает

string.

Использование

$WC_Countries = new WC_Countries();
$WC_Countries->get_base_country();

Код WC_Countries::get_base_country() WC 11.2.2

public function get_base_country() {
	$default = wc_get_base_location();
	return apply_filters( 'woocommerce_countries_base_country', $default['country'] );
}