i am working on an event that requires users to be able to comment, everyday on my blog for a period of them, i have been looking for the possible way to allow duplicate comments on my blog. please can anyone tell me how to enable duplicate comments

1 Answer 1


Add this to your functions.php:

add_filter('duplicate_comment_id', '__return_false');
  • It worked like a charm for me!!! Added this line at the end of wp-includes/functions.php file and restarted the server. May 31, 2021 at 11:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.