钩子文档

recovery_email_support_info

💡 云策文档标注

概述

本文档介绍 WordPress 中的 recovery_email_support_info 过滤器,用于自定义致命错误保护邮件中的支持信息内容。该过滤器允许开发者修改发送给站点管理员的支持消息。

关键要点

  • recovery_email_support_info 是一个过滤器,用于修改致命错误保护邮件中的支持消息。
  • 参数 $message 是一个字符串,表示要包含在邮件中的消息内容。
  • 该过滤器在 WP_Recovery_Mode_Email_Service::send_recovery_mode_email() 方法中使用,用于发送恢复模式邮件。
  • 首次引入于 WordPress 5.2.0 版本。

📄 原文内容

Filters the support message sent with the the fatal error protection email.

Parameters

$messagestring
The Message to include in the email.

Source

$support = apply_filters( 'recovery_email_support_info', __( 'Please contact your host for assistance with investigating this issue further.' ) );

Changelog

Version Description
5.2.0 Introduced.