This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Comment Moderation Role by WPBeginner

Description

Comment Moderation Role by WPBeginner

This comment moderation plugin improves the comment moderation permissions on your WordPress site.

The new role “WPB Comment Moderator” is created on your site to allow you to give users access only to the comment moderation screen. Unlike the WordPress default settings, a comment moderator is not required to be able to author posts, so you can keep your content secure.

The Comment Moderator can approve, decline, or edit any comments on any post.

This plugin also allows your Authors and Contributors to moderate comments on the posts they wrote. That means your guest authors can continue interacting with their readers, without getting access to other articles or comments.

How Do I Create a Comment Moderator User?

Once this plugin is activated, simply edit a user’s profile and change their role to WPB Comment Moderator. This will grant them access only to the comment moderation screens within WordPress, keeping the rest of your site secure.

Credits

Comment Moderation Role is created by the WPBeginner team.

What’s Next?

To learn more about WordPress, you can visit WPBeginner for tutorials on topics like:

…and many more WordPress tutorials.

If you like our Comment Moderator Role plugin, then consider checking out our other projects:

  • OptinMonster – Get More Email Subscribers with the most popular conversion optimization plugin for WordPress.
  • WPForms – #1 drag & drop online form builder for WordPress (trusted by 4 million sites).
  • MonsterInsights – See the Stats that Matter and Grow Your Business with Confidence. Best Google Analytics Plugin for WordPress.
  • SeedProd – Create beautiful landing pages with our powerful drag & drop landing page builder.
  • WP Mail SMTP – Improve email deliverability for your contact form with the most popular SMTP plugin for WordPress.
  • RafflePress – Best WordPress giveaway and contest plugin to grow traffic and social followers.
  • Smash Balloon – #1 social feeds plugin for WordPress – display social media content in WordPress without code.
  • AIOSEO – the original WordPress SEO plugin to help you rank higher in search results (trusted by over 2 million sites).
  • PushEngage – Connect with visitors after they leave your website with the leading web push notification plugin.
  • TrustPulse – Add real-time social proof notifications to boost your store conversions by up to 15%.

Visit WPBeginner to learn from our WordPress Tutorials and find out about other best WordPress plugins.

Installation

  1. Install the Comment Moderation Role plugin by uploading the comment-moderation-role directory to the /wp-content/plugins/ directory. (See instructions on how to install a WordPress plugin.)
  2. Activate Comment Moderation Role through the Plugins menu in WordPress.

FAQ

How is this different from WordPress’s moderate_comments permission?

In order to moderate all comments, WordPress requires the user have permission to both edit posts and moderate comments. This plugin removes the requirement for a user to have both permissions.

Are there filters for developers?

Yes, the roles and capabilities used by this plugin can be modified by filters.

Filters should be run prior to the plugins_loaded hook running. As a result they can not be added to a theme’s functions.php file.

The default moderator capability is Core’s moderate_comments. This can be replaced with any string using the filter wpb.comment_moderation_role.moderator_cap.

Example:

<?php
add_filter(
    'wpb.comment_moderation_role.moderator_cap',
    function() { return 'wpb_moderate_comments'; }
);

The default moderator role is displayed in the admin as WPB Comment Moderator. This can be replaced with any string using the filter wpb.comment_moderation_role.moderator_role_name.

Example:

<?php
add_filter(
    'wpb.comment_moderation_role.moderator_role_name',
    function() { return 'WPB Support Staff'; }
);

The default moderator role’s slug is wpb_comment_moderator. This can be replaced with any string using the filter wpb.comment_moderation_role.moderator_role_slug.

Example:

<?php
add_filter(
    'wpb.comment_moderation_role.moderator_role_slug',
    function() { return 'wpb_support_staff'; }
);

Reviews

Pebrero 9, 2023
Hi! Good job on this plugin! It works perfectly! I was wondering, if we have posts with “draft” status, how can we approve/moderate them?
Nobyembre 25, 2021
Not able to delete bad link in website field.
Hulyo 25, 2021
Installed & checked . Definitely useful plugin if you are a blogger & the blogger can give the comment access who wants someone to manage only to moderate comments. No other access options for moderator. Short & simple.
Read all 3 reviews

Contributors & Developers

“Comment Moderation Role by WPBeginner” is open source software. The following people have contributed to this plugin.

Contributors

“Comment Moderation Role by WPBeginner” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “Comment Moderation Role by WPBeginner” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.1.1

  • Misc: Internal documentation updates.
  • Misc: The plugin is tested up to WordPress 6.0.

1.1.0

  • Fix: Ensure replying to comments via the moderation screen links the comment to a post.