recovery_mode_email

过滤钩子
apply_filters( 'recovery_mode_email', $email, $url )
参数
  • (array) $email { Used to build a call to wp_mail(). @type string|array $to Array or comma-separated list of email addresses to send message. @type string $subject Email subject @type string $message Message contents @type string|array $headers Optional. Additional headers. @type string|array $attachments Optional. Files to attach. }
    Required:
  • (string) $url URL to enter recovery mode.
    Required:
定义位置
相关勾子
recovery_mode_email_link_ttlrecovery_mode_begin_urlrecovery_mode_email_rate_limitrecovery_mode_cookie_lengthgenerate_recovery_mode_key
相关方法
wp_recovery_mode_nagwp_recovery_modewp_is_recovery_modewp_admin_bar_recovery_mode_menuremove_menu_pageget_user_by_email
引入
5.6.0
弃用
-

recovery_mode_email 是一个过滤器,它允许你修改WordPress网站上用于恢复模式的电子邮件地址。

过滤恢复模式电子邮件的内容。

$email = apply_filters( 'recovery_mode_email', $email, $url );

常见问题

FAQs
查看更多 >
闪电侠

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

2025-12-05 19:32:59

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

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

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