On this page
apply_filters( 'comment_moderation_subject', string $subject, int $comment_id )
Filters the comment moderation email subject.
Parameters
$subjectstring-
Subject of the comment moderation email.
$comment_idint-
Comment ID.
Source
File: wp-includes/pluggable.php. View all references
$subject = apply_filters( 'comment_moderation_subject', $subject, $comment_id );
Related
Used By
| Used By | Description |
|---|---|
| wp_notify_moderator() wp-includes/pluggable.php | Notifies the moderator of the site about a new comment that is awaiting approval. |
Changelog
| Version | Description |
|---|---|
| 1.5.2 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_moderation_subject