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



wpmu_welcome_notification › WordPress过滤钩子

SinceMU (3.0.0)
已弃用n/a
apply_filters( 'wpmu_welcome_notification', $blog_id, $user_id, $password, $title, $meta )
参数: (5)
  • (int|false) $blog_id Site ID, or false to prevent the email from sending.
    Required: Yes
  • (int) $user_id User ID of the site administrator.
    Required: Yes
  • (string) $password User password, or "N/A" if the user account is not new.
    Required: Yes
  • (string) $title Site title.
    Required: Yes
  • (array) $meta Signup meta data. By default, contains the requested privacy setting and lang_id.
    Required: Yes
定义在:
文档:

Filters whether to bypass the welcome email sent to the site administrator after site activation.

Returning false disables the welcome email.





源码

if ( ! apply_filters( 'wpmu_welcome_notification', $blog_id, $user_id, $password, $title, $meta ) ) {