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



wp_installed_email › WordPress过滤钩子

Since5.6.0
已弃用n/a
apply_filters( 'wp_installed_email', $installed_email, $user, $blog_title, $blog_url, $password )
参数: (5)
  • (array) $installed_email { Used to build wp_mail(). @type string $to The email address of the recipient. @type string $subject The subject of the email. @type string $message The content of the email. @type string $headers Headers. }
    Required: Yes
  • (WP_User) $user The site administrator user object.
    Required: Yes
  • (string) $blog_title The site title.
    Required: Yes
  • (string) $blog_url The site URL.
    Required: Yes
  • (string) $password The site administrator's password. Note that a placeholder message is usually passed instead of the user's actual password.
    Required: Yes
定义在:
文档:

Filters the contents of the email sent to the site administrator when WordPress is installed.





源码

$installed_email = apply_filters( 'wp_installed_email', $installed_email, $user, $blog_title, $blog_url, $password );