[wp-trac] [WordPress Trac] #51717: Emails in WordPress (Templating and Sending methodology)

WordPress Trac noreply at wordpress.org
Mon Aug 4 22:10:34 UTC 2025


#51717: Emails in WordPress (Templating and Sending methodology)
-------------------------------------+------------------------------
 Reporter:  Nate1                    |       Owner:  (none)
     Type:  feature request          |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Mail                     |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch 2nd-opinion  |     Focuses:
-------------------------------------+------------------------------
Changes (by SirLouen):

 * keywords:   => needs-patch 2nd-opinion


Comment:

 One of the proposed ideas I was following along with was this one:
 implementing some sort of templating system for email messages.

 This was originally proposed in #49661 but since that ticket is a mix with
 5 or 6 proposals at the same time, I'm trying to dissect them into smaller
 pieces. I intended to create a new ticket regarding this topic, but since
 this already exists, I might be taking it to step forward in this
 direction.

 Still, the original idea was to have a template to have a uniform internal
 mechanism for all emails, not really for the users. As you say, this seems
 a little more like food for extenders, as each single email content
 ([https://core.trac.wordpress.org/ticket/47004 and hopefully soon
 subject]) using `wp_mail` has a specific hook to modify its content.

 Let's keep this open until we find a solution for this.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51717#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list