Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have comments enabled on my custom post type page, which works well but I need the admin to moderate all comments before they are published.

At the moment the post author whose level is 'contributor' is able to post comments without being moderated.

I can't find any way to do this currently, nor can I find any plugins.

Any help would be much appreciated!

share|improve this question

2 Answers 2

Try this: Capability Manager and also read (if you have't already done so) the Wordpress roles and capabilities docs:

share|improve this answer

Check this option

The relevant code from that thread is:

add_filter('pre_comment_approved', 'xko_pre_comment_approved', null, 2);

function xko_pre_comment_approved($approved, $commentdata)
    $approved = 0;
    return $approved;
share|improve this answer
Welcome to WordPress Answers! An answer should be more than just a link to an external site. Please add a solution. – toscho Sep 8 '12 at 9:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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