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: 这个函数设置密码重置邮件的收件人电子邮件地址。该电子邮件地址可以是网站的默认电子邮件地址,也可以是用户指定的自定义电子邮件地址。

过滤发送给用户的重置密码通知邮件的内容。

$notification_email = apply_filters( 'retrieve_password_notification_email', $defaults, $key, $user_login, $user_data );

常见问题

FAQs
查看更多 >
闪电侠

(工作日 10:00 - 18:30 为您服务)

2025-12-06 13:33:19

您好,无论是售前、售后、意见建议……均可通过联系工单与我们取得联系。

您也可选择聊天工具与我们即时沟通或点击查看:

您的工单我们已经收到,我们将会尽快跟您联系!
取消
选择聊天工具: