On this page
apply_filters( 'comment_duplicate_message', string $comment_duplicate_message )
Filters duplicate comment error message.
Parameters
$comment_duplicate_messagestring-
Duplicate comment error message.
Source
File: wp-includes/comment.php. View all references
$comment_duplicate_message = apply_filters( 'comment_duplicate_message', __( 'Duplicate comment detected; it looks as though you’ve already said that!' ) );
Related
Used By
| Used By | Description |
|---|---|
| wp_allow_comment() wp-includes/comment.php | Validates whether this comment is allowed to be made. |
Changelog
| Version | Description |
|---|---|
| 5.2.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_duplicate_message