update_welcome_subject

过滤钩子


apply_filters( 'update_welcome_subject', sprintf( $subject, $current_network->site_name, wp_unslash( $title )
参数
  • (string)
    $subject
    Subject of the email.
    Required:
定义位置
  • wp-includes/ms-functions.php
    , line 1682
引入
MU (3.0.0)
弃用

过滤网站激活后发送给网站管理员的欢迎邮件的主题。

$subject = apply_filters( 'update_welcome_subject', sprintf( $subject, $current_network->site_name, wp_unslash( $title ) ) );