customer->get_shipping_country(); } /** * Gets customer billing country. * * @return string|null */ public function customerGetBillingCountry(): ?string { return WC()->customer->get_billing_country(); } }