wpseek.com
WordPress开发者和主题制作者的搜索引擎



network_admin_email_change_email › WordPress过滤钩子

Since4.9.0
已弃用n/a
apply_filters( 'network_admin_email_change_email', $email_change_email, $old_email, $new_email, $network_id )
参数: (4)
  • (array) $email_change_email { Used to build wp_mail(). @type string $to The intended recipient. @type string $subject The subject of the email. @type string $message 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. @type string $headers Headers. }
    Required: Yes
  • (string) $old_email The old network admin email address.
    Required: Yes
  • (string) $new_email The new network admin email address.
    Required: Yes
  • (int) $network_id ID of the network.
    Required: Yes
定义在:
文档:

Filters the contents of the email notification sent when the network admin email address is changed.





源码

$email_change_email = apply_filters( 'network_admin_email_change_email', $email_change_email, $old_email, $new_email, $network_id );