network_admin_email_change_email

最后更新于:2021-11-27 09:21:21

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.

参数

$email_change_email

(array)
Used to build gc_mail().

  • ‘to’
    (string) The intended recipient.
  • ‘subject’
    (string) The subject of the email.
  • ‘message’
    (string) The content of the email. The following strings have a special meaning and will get replaced dynamically:

    • ###OLD_EMAIL### The old network admin email address.
    • ###NEW_EMAIL### The new network admin email address.
    • ###SITENAME### The name of the network.
    • ###SITEURL### The URL to the site.
  • ‘headers’
    (string) Headers.

$old_email

(string)
The old network admin email address.

$new_email

(string)
The new network admin email address.

$network_id

(int)
ID of the network.

源文件

文件: gc-includes/ms-functions.php

View on Trac