1. 首页
  2. WordPress钩子手册

comment_notification_text

apply_filters( ‘comment_notification_text’, string $notify_message, int $comment_id )

过滤钩子:过滤评论通知电子邮件文本。
Filter Hook: Filters the comment notification email text.

目录锚点:#参数#源码


参数(Parameters)

参数 类型 说明
$notify_message (string) 评论通知电子邮件文本。
$comment_id (int) 注释ID。

源码(Source)


更新版本 源码位置 使用 被使用
1.5.2 wp-includes/pluggable.php:1672 1 0

comment_notification_text 为WP2原创文章,链接:https://www.wp2.cn/hook/comment_notification_text/