The 'Plain Formatted Billing Address for WooCommerce' plugin adds a custom email placeholder
{formatted_billing_address_plain}
that works just like the built-in
{formatted_billing_address}
, but outputs the billing address in plain text format (joined by new line characters) instead of using HTML formatting.
This is particularly useful when you need to use addresses in contexts where HTML is not supported or desired.
Usage
Simply use the
{formatted_billing_address_plain}
placeholder in your WooCommerce email templates wherever you need a plain-text formatted billing address.
Requirements
- WordPress 5.0 or higher
- WooCommerce 3.0.0 or higher
- PHP 7.2 or higher