| 开发者 | codeprosai |
|---|---|
| 更新时间 | 2026年5月29日 19:54 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
{{variable}} tokens (first name, site name, login URL, and more) that resolve automatically at send time{{order_items_table}} or {{order_items_table_with_images}}{{variables}} passed from your code, assign templates directly in the UI, and get a copy-ready PHP snippet for your theme or plugin{{variable}} tokens to personalise the content dynamically.{{site_name}}, {{site_url}}, {{first_name}}, {{last_name}}, {{user_email}}, {{user_login}}, {{reset_link}}, {{login_url}}
WooCommerce email: {{order_id}}, {{order_total}}, {{order_date}}, {{billing_first_name}}, {{billing_last_name}}, {{billing_email}}, {{shipping_address}}, {{payment_method}}, {{order_items_table}}, {{order_items_table_with_images}}
Custom Hooks (Pro): any variables you define when registering a custom hook
codepros-email-template-builder folder to /wp-content/plugins/.Only for hooks you explicitly assign a template to. Any hook without an active template assignment continues to use the default WC email unchanged.
Yes. The core template builder and WordPress core email hooks are fully available without WooCommerce. WooCommerce-specific features (WC Emails tab) appear only when WC is installed and active.
All email hooks immediately revert to the WordPress or WooCommerce defaults. Your templates are stored in the database and will be restored when you reactivate.
You can add any web-safe font via the text block font-family setting, or embed a Google Fonts @import in a custom HTML block. Note that many email clients do not support web fonts and will fall back to the specified fallback font.
Yes. The email shell wraps all content in a 600px max-width table-based layout that stacks correctly on mobile clients.
Templates are stored in a dedicated wp_eta_templates database table, not as post meta, keeping your wp_posts table clean.
After registering a custom hook in the Custom Hooks tab, copy the provided PHP snippet and add it to your theme or plugin. When that code runs, CodePros Email Template Builder intercepts the action and sends the assigned template with the variables you passed.
{{variable}} token resolution