WordPress at Your Fingertips
function is not described

WC_Countries::get_base_postcode() public WC 3.1.1

Get the base postcode 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_postcode();

Changelog

Since 3.1.1 Introduced.

Code of WC_Countries::get_base_postcode() WC 5.7.1

public function get_base_postcode() {
	$base_postcode = get_option( 'woocommerce_store_postcode', '' );
	return apply_filters( 'woocommerce_countries_base_postcode', $base_postcode );
}