[wp-trac] [WordPress Trac] #42134: Add filter to emails sent by wp-admin/network/site-new.php

WordPress Trac noreply at wordpress.org
Sun Oct 11 19:27:37 UTC 2020


#42134: Add filter to emails sent by wp-admin/network/site-new.php
---------------------------------------------+--------------------------
 Reporter:  johnbillion                      |       Owner:  johnbillion
     Type:  enhancement                      |      Status:  closed
 Priority:  normal                           |   Milestone:  5.6
Component:  Networks and Sites               |     Version:
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  good-first-bug has-patch commit  |     Focuses:  multisite
---------------------------------------------+--------------------------
Changes (by johnbillion):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"49127" 49127]:
 {{{
 #!CommitTicketReference repository="" revision="49127"
 Networks and Sites: Extract into a new function the email that gets sent
 to the network administrator when a new site is created, and introduce
 filters to disable and modify its
  contents.

 * The `send_new_site_email` filter can be used to disable this email.
 * The `new_site_email` filter can be used to modify its contents.

 Props Dhruvin, Dharm1025, dharmin16, jipmoors

 Fixes #42134
 }}}

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


More information about the wp-trac mailing list