comment_notification_headers

过滤钩子
apply_filters( 'comment_notification_headers', $message_headers, $comment->comment_ID )
参数
  • (string) $message_headers Headers for the comment notification email.
    Required:
  • (string) $comment_id Comment ID as a numeric string.
    Required:
定义位置
相关勾子
comment_notification_textcomment_moderation_headerscomment_notification_subjectcomment_notification_recipientscomment_notification_notify_author
相关方法
wpmu_welcome_notificationsend_origin_headerscomment_id_fieldsget_column_headersget_comments_pagination_arrowwp_get_nocache_headers
引入
1.5.2
弃用
-

comment_notification_headers。这个过滤钩允许开发者修改评论通知邮件的标题。

过滤评论通知的电子邮件标题。

$message_headers = apply_filters( 'comment_notification_headers', $message_headers, $comment->comment_ID );

常见问题

FAQs
查看更多 >
闪电侠

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

2025-12-05 19:32:59

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

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

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