• Resolved demuri

    (@demuri)


    Hello,
    I’m trying to translate country name in invoice billing address – I need invoices to be in other language than WP/WC. I’m not PHP guru and can’t understand how to catch it. E.g. var_dump($this->billing_address()); returns null. If I try to add it to variable it’s always null too. Code $this->billing_address() itself always returns an address, just prints it even if I wrap it with <pre>.
    It looks like $this->billing_address() doesn’t contain a code but works like function which prints address. Please just give me a hint at least to understand how it works.
    TIA

    • This topic was modified 4 years, 6 months ago by demuri.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Billing address manipulations’ is closed to new replies.