wpmu_signup_blog_notification

过滤钩子
apply_filters( 'wpmu_signup_blog_notification', $domain, $path, $title, $user_login, $user_email, $key, $meta )
参数
  • (string|false) $domain Site domain, or false to prevent the email from sending.
    Required:
  • (string) $path Site path.
    Required:
  • (string) $title Site title.
    Required:
  • (string) $user_login User login name.
    Required:
  • (string) $user_email User email address.
    Required:
  • (string) $key Activation key created in wpmu_signup_blog().
    Required:
  • (array) $meta Signup meta data. By default, contains the requested privacy setting and lang_id.
    Required:
定义位置
相关勾子
wpmu_signup_blog_notification_emailwpmu_signup_blog_notification_subjectwpmu_signup_user_notificationwpmu_signup_user_notification_emailwp_signup_location
相关方法
wpmu_signup_blog_notificationwpmu_signup_user_notificationwp_new_blog_notificationwpmu_welcome_notificationwpmu_signup_blogwpmu_new_site_admin_notification
引入
MU (3.0.0)
弃用
-

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

过滤是否绕过新网站的电子邮件通知。

if ( ! apply_filters( 'wpmu_signup_blog_notification', $domain, $path, $title, $user_login, $user_email, $key, $meta ) ) {

常见问题

FAQs
查看更多 >