apply_filters( 'network_admin_email_change_email', array $email_change_email , string $old_email , string $new_email , int $network_id )
Filters the contents of the email notification sent when the network admin email address is changed.
Parameters
- $email_change_email
-
Used to build wp_mail().<br>
- 'to'
(string) The intended recipient.<br> - 'subject'
(string) The subject of the email.<br> - 'message'
(string) The content of the email.<br> The following strings have a special meaning and will get replaced dynamically:<br>- ###OLD_EMAIL### The old network admin email address.<br>
- ###NEW_EMAIL### The new network admin email address.<br>
- ###SITENAME### The name of the network.<br>
- ###SITEURL### The URL to the site.<br>
- 'headers'
(string) Headers.<br>
- 'to'
- $old_email
-
The old network admin email address.
- $new_email
-
The new network admin email address.
- $network_id
-
ID of the network.
Source
Changelog
Version | Description |
---|---|
4.9.0 | Introduced. |