comment_notification_text WordPress Filter Hook
The comment_notification_text hook allows you to modify the text of the notification email sent out when someone comments on a post. This can be useful for adding extra information or links into the email.
apply_filters( 'comment_notification_text', string $notify_message , string $comment_id ) #
Filters the comment notification email text.
Parameters
- $notify_message
(string)The comment notification email text.
- $comment_id
(string)Comment ID as a numeric string.
Source
Changelog
Version | Description |
---|---|
1.5.2 | Introduced. |