Comment Moderation Role by WPBeginner


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.


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.


  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.


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.


    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.


    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.


    function() { return 'wpb_support_staff'; }


2021 年 7 月 25 日
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.
閱讀全部 1 則使用者評論


以下人員參與了開源軟體〈Comment Moderation Role by WPBeginner〉的開發相關工作。


Comment Moderation Role by WPBeginner 外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將 Comment Moderation Role by WPBeginner 外掛本地化為台灣繁體中文版


任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄



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