WC_Countries::get_base_postcode()
Get the base postcode for the store.
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. |
WC_Countries::get_base_postcode() WC Countries::get base postcode code WC 9.4.2
public function get_base_postcode() { $base_postcode = get_option( 'woocommerce_store_postcode', '' ); return apply_filters( 'woocommerce_countries_base_postcode', $base_postcode ); }