comment_moderation_headers

过滤钩子
apply_filters( 'comment_moderation_headers', $message_headers, $comment_id )
参数
  • (string) $message_headers Headers for the comment moderation email.
    Required:
  • (int) $comment_id Comment ID.
    Required:
定义位置
相关勾子
comment_moderation_textcomment_notification_headerscomment_moderation_subjectcomment_moderation_recipientscomments_atom_head
相关方法
comment_footer_diesend_frame_options_headercomment_datepost_comment_meta_box_theadwp_new_comment_notify_moderatorcomment_author
引入
2.8.0
弃用
-

comment_moderation_headers: 这个过滤钩子允许开发者修改评论审核邮件的头文件。

过滤评论修改电子邮件的标题。

$message_headers = apply_filters( 'comment_moderation_headers', $message_headers, $comment_id );

常见问题

FAQs
查看更多 >
闪电侠

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

2026-01-29 13:09:46

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

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

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