W3cubDocs

/WordPress

apply_filters( ‘comment_notification_subject’, string $subject, string $comment_id )

Filters the comment notification email subject.

Parameters

$subjectstring
The comment notification email subject.
$comment_idstring
Comment ID as a numeric string.

Source

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

Changelog

Version Description
1.5.2 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_notification_subject