Wordpress 钩子:wp_new_user_notification_email_admin
文章目录
过滤发送给站点管理员的新用户通知电子邮件的内容。
原型
apply_filters( 'wp_new_user_notification_email_admin', array $wp_new_user_notification_email, WP_User $user, string $blogname )
参数
$wp_new_user_notification_email
(array)
用于构建wp_mail()。 ‘to’(字符串)预期的收件人 - 站点管理员电子邮件地址。 ‘subject’(字符串)电子邮件的主题。 ‘message’(字符串)电子邮件的正文。 ‘headers’(字符串)电子邮件的标题。
源文件
路径:``
其他
英文文档:https://developer.wordpress.org/reference/hooks/wp_new_user_notification_email_admin/
文章作者 iBllex
上次更新 2019-02-16