comment_notification_subject WordPress Filter Hook
The comment_notification_subject hook is used to modify the subject line of the notification email sent when a comment is made.
apply_filters( 'comment_notification_subject', string $subject , string $comment_id ) #
Filters the comment notification email subject.
Parameters
- $subject
(string)The comment notification email subject.
- $comment_id
(string)Comment ID as a numeric string.
Source
Changelog
Version | Description |
---|---|
1.5.2 | Introduced. |