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



update_welcome_email › WordPress过滤钩子

SinceMU (3.0.0)
已弃用n/a
apply_filters( 'update_welcome_email', $welcome_email, $blog_id, $user_id, $password, $title, $meta )
参数: (6)
  • (string) $welcome_email Message body of the email.
    Required: Yes
  • (int) $blog_id Site ID.
    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 the content of the welcome email sent to the site administrator after site activation.

Content should be formatted for transmission via wp_mail().





源码

$welcome_email = apply_filters( 'update_welcome_email', $welcome_email, $blog_id, $user_id, $password, $title, $meta );