update_welcome_email

過濾鉤子
apply_filters( 'update_welcome_email', $welcome_email, $blog_id, $user_id, $password, $title, $meta )
引數
  • (string) $welcome_email Message body of the email.
    Required:
  • (int) $blog_id Site ID.
    Required:
  • (int) $user_id User ID of the site administrator.
    Required:
  • (string) $password User password, or "N/A" if the user account is not new.
    Required:
  • (string) $title Site title.
    Required:
  • (array) $meta Signup meta data. By default, contains the requested privacy setting and lang_id.
    Required:
定義位置
相關勾子
update_welcome_user_emailupdate_welcome_subjectupdate_welcome_user_subjectupdate_postmetacomment_email
相關方法
update_blog_detailswp_ajax_update_welcome_panelwp_welcome_panelupdate_home_siteurlupdate_metaupdate_core
引入
MU (3.0.0)
棄用
-

update_welcome_email:此過濾器用於修改在新使用者註冊 WordPress 站點後傳送給新使用者的歡迎電子郵件的內容。 過濾器允許您自定義歡迎電子郵件的文字、格式和其他方面以滿足您的需要。

過濾網站啟用後傳送給網站管理員的歡迎郵件的內容。

內容應通過wp_mail()格式化來傳輸。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$welcome_email = apply_filters( 'update_welcome_email', $welcome_email, $blog_id, $user_id, $password, $title, $meta );
$welcome_email = apply_filters( 'update_welcome_email', $welcome_email, $blog_id, $user_id, $password, $title, $meta );
$welcome_email = apply_filters( 'update_welcome_email', $welcome_email, $blog_id, $user_id, $password, $title, $meta );

常見問題

FAQs
檢視更多 >