CodePros Email Template Builder

Changelog

1.1.0

Security & Bug Fixes
* Security fix: Added CRLF / email header injection protection — newline characters are now stripped from all user-supplied header values (From Name, From Email, subject) before they reach the mailer.
* Fix: Custom hook filters were silently not being registered at startup. The register_custom_hook_filters() call was missing, meaning third-party plugins that fired a cpetb_custom_* action would never be intercepted. Custom hooks now work correctly.
* Fix: Dropping a reusable (saved) block onto the canvas threw “Unknown block type: saved_block”. Added the missing saved_block catalog entry so blocks resolve correctly when dropped.
* Fix: Builder metadata comments could appear in rendered email output when template content contained the –> character sequence. Metadata is now Base64-encoded so the HTML comment boundary is never broken.
* Fix: Existing templates with already-corrupted metadata comments now render cleanly — both the JavaScript and PHP strip routines use a greedy regex that fully removes the broken comment in one pass.

Email Builder improvements
* Container block now supports nested inner blocks — you can drag any block inside a container and reorder them freely.
* Improved drag-and-drop stability: dragging blocks into and out of containers no longer causes duplicate or missing blocks.
* Code refactor of the email builder for improved readability and long-term maintainability — no behaviour changes.

1.0.0

  • Initial release.
  • Visual drag-and-drop email builder (heading, text, button, image, divider, spacer, columns, table blocks).
  • WordPress core email hook support (new user, password reset, email change, comment awaiting moderation, email address change confirmation, and admin email change confirmation).
  • Full WooCommerce transactional email support (16 email types).
  • Per-template subject, preheader, From Name, From Email overrides.
  • Live preview and send-test functionality.
  • Granular capability system with 7 cpetb_* capabilities.
  • WooCommerce active/inactive toggle per email type.
  • New block: Container — styled section wrapper with background color, padding, border, and border radius.
  • New block: Footer — pre-styled email footer with text, background color, and alignment controls.
  • Reusable blocks (Pro) — save any block as a reusable snippet and reuse it across templates.
  • Per-side padding controls (top/right/bottom/left) for heading, text, image, and columns blocks.
  • Background color control added to heading, text, and image blocks.
  • Border radius control added to text block.
  • License management UI — activate/deactivate Pro license from the admin License tab.
  • License submenu added to the WordPress admin sidebar for quick access.
  • CodePros AI license gating for WooCommerce Emails, Custom Hooks, and Reusable Blocks features.
  • Pro blocks (Products, Posts) now show a PRO badge in the block palette when unlicensed; clicking redirects to the License page.
  • Custom Hooks and Reusable Blocks LicenseGate screens now display both Activate and Purchase License buttons.
  • Updated empty state icons for Reusable Blocks and Custom Hooks sections.

Plugin Website
Visit website

Author
codeprosai
Version:
1.1.0
Last Updated
June 4, 2026
Requires
WordPress 6.3
Tested Up To
WordPress 7.0
Requires PHP
7.4

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.