Wordpress has a default option that checks if user has an approved comment before.

How do i change this number to a higher limit so that users must have more than one approved comment to publish future comments without approval.


1 Answer 1


You could try the pre_comment_approved filter to modify the approval status for the $approved = 1 case, excluding the post author and users with moderate_comments capability.

Then set it to 0 if the commenter has fewer than 2 approved comments.

Note that the approved value can also be 'spam' or 'trash'.

  • Hi, birgire thanks for the answer. Would you mind explaining with a code snippet please? Jun 13, 2017 at 13:12
  • The code in wp_allow_comment() and check_comment() is helpful to see what kind of queries you could use.
    – birgire
    Jun 13, 2017 at 21:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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