wpmu_signup_user_notification

过滤钩子
apply_filters( 'wpmu_signup_user_notification', $user_login, $user_email, $key, $meta )
参数
  • (string) $user_login User login name.
    Required:
  • (string) $user_email User email address.
    Required:
  • (string) $key Activation key created in wpmu_signup_user().
    Required:
  • (array) $meta Signup meta data. Default empty array.
    Required:
定义位置
相关勾子
wpmu_signup_user_notification_emailwpmu_signup_user_notification_subjectwpmu_signup_blog_notificationwpmu_welcome_user_notificationwpmu_signup_blog_notification_email
相关方法
wpmu_signup_user_notificationwpmu_signup_blog_notificationwp_new_user_notificationwpmu_welcome_user_notificationwp_send_new_user_notificationswpmu_signup_user
引入
MU (3.0.0)
弃用
-

wpmu_signup_user_notification:这是 WordPress 中的过滤器钩子,允许开发人员修改在新用户注册多站点网络时发送给他们的通知。该钩子在生成通知时触发,可用于修改通知文本、添加附加信息或执行任何其他通知定制。

设置是否绕过新用户注册的电子邮件通知。

if ( ! apply_filters( 'wpmu_signup_user_notification', $user_login, $user_email, $key, $meta ) ) {

常见问题

FAQs
查看更多 >