內容簡介
總結:
這個「Plain Formatted Billing Address for WooCommerce」外掛新增了一個自訂的郵件占位符 {formatted_billing_address_plain},與內建的 {formatted_billing_address} 類似,但是以純文字格式(由換行符號組合)輸出帳單地址,而非使用HTML格式。在需要在不支援或不希望使用HTML的情況下使用地址時特別有用。
問題與答案:
1. 這個 WooCommerce 外掛的用途是什麼?
答:這個外掛的用途是新增一個郵件占位符 {formatted_billing_address_plain},讓帳單地址能以純文字格式呈現而非HTML格式。
2. 在何種情況下這個外掛特別有用?
答:這個外掛在需要在不支援或不希望使用HTML的情況下使用地址時特別有用。
3. 請列出使用這個外掛的系統需求。
答:這個外掛需要系統符合以下條件:
- WordPress 5.0 或更新版本
- WooCommerce 3.0.0 或更高版本
- PHP 7.2 或更高版本
外掛標籤
開發者團隊
② 後台搜尋「Plain Formatted Billing Address for WooCommerce」→ 直接安裝(推薦)
原文外掛簡介
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
