WC_Countries::get_base_city()
Get the base city 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_city();
Code of WC_Countries::get_base_city() WC Countries::get base city WC 6.6.1
public function get_base_city() { $base_city = get_option( 'woocommerce_store_city', '' ); return apply_filters( 'woocommerce_countries_base_city', $base_city ); }