send_network_admin_email_change_email

过滤钩子
apply_filters( 'send_network_admin_email_change_email', $send, $old_email, $new_email, $network_id )
参数
  • (bool) $send Whether to send the email notification.
    Required:
  • (string) $old_email The old network admin email address.
    Required:
  • (string) $new_email The new network admin email address.
    Required:
  • (int) $network_id ID of the network.
    Required:
定义位置
相关勾子
network_admin_email_change_emailsend_email_change_emailnew_network_admin_email_contentsend_password_change_emailemail_change_email
相关方法
wp_network_admin_email_change_notificationwp_site_admin_email_change_notificationupdate_network_option_new_admin_emailis_network_adminnetwork_admin_urlnetwork_domain_check
引入
4.9.0
弃用
-

send_network_admin_email_change_email – 在WordPress的多站点安装中,当用户改变与他们的网络管理员帐户相关的电子邮件地址时,这个动作钩子被调用。它在向新旧电子邮件地址发送电子邮件以确认更改之前被触发。

筛选是否发送网络管理员电子邮件更改通知电子邮件。

$send = apply_filters( 'send_network_admin_email_change_email', $send, $old_email, $new_email, $network_id );

常见问题

FAQs
查看更多 >