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!

2 Answers 2


Try this: Capability Manager http://wordpress.org/extend/plugins/capsman/ and also read (if you have't already done so) the Wordpress roles and capabilities docs: http://codex.wordpress.org/Roles_and_Capabilities


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;

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.