首页>文档>Wordpress开发文档>Wordpress 钩子>network_admin_email_change_email

network_admin_email_change_email

network_admin_email_change_email钩子是Wordpress钩子,筛选挂钩:筛选网络管理员电子邮件地址更改时发送的电子邮件通知的内容。

apply_filters( ‘network_admin_email_change_email’, array $email_change_email, string $old_email, string $new_email, int $network_id )

参数(Parameters)

参数类型说明
$email_change_email(array)用于生成wp_mail()。’到’(字符串)指定的收件人。
‘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”(字符串)标题。
$old_email(string)旧的网络管理员电子邮件地址。
$new_email(string)新的网络管理员电子邮件地址。
$network_id(int)网络的ID。

源码(Source)

//暂无
更新版本源码位置使用被使用
4.9.0wp-includes/ms-functions.php:282010
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索