WordPress at Your Fingertips
function is not described

WC_Countries::get_base_state() public WC 1.0

Get the base state for the store.

{} It's a method of the class: WC_Countries{}

Hooks from the method
Return

String.

Usage

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

Code of WC_Countries::get_base_state() WC 5.6.0

public function get_base_state() {
	$default = wc_get_base_location();
	return apply_filters( 'woocommerce_countries_base_state', $default['state'] );
}