Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.

Comment Moderation Role by WPBeginner

Mô tả

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.

Cài đặt

  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.

Hỏi đáp

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'; }

Đánh giá

9 Tháng Hai, 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?
25 Tháng Mười Một, 2021
Not able to delete bad link in website field.
25 Tháng Bảy, 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.
Đọc tất cả 3 đánh giá

Người đóng góp & Lập trình viên

“Comment Moderation Role by WPBeginner” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

“Comment Moderation Role by WPBeginner” đã được dịch qua 2 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “Comment Moderation Role by WPBeginner” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi


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


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