woo_scaffold_email
Simplify WooCommerce email customization: generate a complete email class with trigger, content methods, and ServiceProvider.
Instructions
Generate a custom WooCommerce Email class with trigger(), get_content_html(), get_content_plain(), and ServiceProvider.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rootNamespace | Yes | Plugin root namespace | |
| className | Yes | Email class name (e.g., "OrderApprovedEmail") | |
| emailId | Yes | Email ID slug (e.g., "order_approved") | |
| title | Yes | Email title (e.g., "Order Approved") | |
| recipientType | No | Who receives this email (default: customer) |