comment_notification_subject

过滤钩子
apply_filters( 'comment_notification_subject', $subject, $comment->comment_ID )
参数
  • (string) $subject The comment notification email subject.
    Required:
  • (string) $comment_id Comment ID as a numeric string.
    Required:
定义位置
相关勾子
comment_notification_textcomment_moderation_subjectcomment_notification_recipientscomment_notification_headerscomment_notification_notify_author
相关方法
wpmu_welcome_notificationwpmu_welcome_user_notificationthe_comments_navigationcomment_form_titlewp_comment_trashnoticecomments_number
引入
1.5.2
弃用
-

comment_notification_subject: 这个过滤器允许你修改当有新评论发布时发出的电子邮件通知的主题。

过滤评论通知邮件的主题。

$subject = apply_filters( 'comment_notification_subject', $subject, $comment->comment_ID );

常见问题

FAQs
查看更多 >
闪电伯伯

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

2025-11-17 21:27:12

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

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

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