retrieve_password_notification_email

過濾鉤子
apply_filters( 'retrieve_password_notification_email', $defaults, $key, $user_login, $user_data )
引數
  • (array) $defaults { The default notification email arguments. Used to build wp_mail(). @type string $to The intended recipient - user email address. @type string $subject The subject of the email. @type string $message The body of the email. @type string $headers The headers of the email. }
    Required:
定義位置
相關勾子
wp_password_change_notification_emailretrieve_password_titlesend_retrieve_password_emailretrieve_password_keyretrieve_password_message
相關方法
wp_password_change_notificationretrieve_passwordget_the_password_formwpmu_new_site_admin_notificationwpmu_welcome_user_notificationdefault_password_nag_handler
引入
6.0.0
棄用
-

retrieve_password_notification_email: 這個函式設定密碼重置郵件的收件人電子郵件地址。該電子郵件地址可以是網站的預設電子郵件地址,也可以是使用者指定的自定義電子郵件地址。

過濾傳送給使用者的重置密碼通知郵件的內容。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$notification_email = apply_filters( 'retrieve_password_notification_email', $defaults, $key, $user_login, $user_data );
$notification_email = apply_filters( 'retrieve_password_notification_email', $defaults, $key, $user_login, $user_data );
$notification_email = apply_filters( 'retrieve_password_notification_email', $defaults, $key, $user_login, $user_data );

常見問題

FAQs
檢視更多 >