Title: Comment Moderation Role by WPBeginner
Author: WPBeginner
Published: <strong>2021 年 7 月 14 日</strong>
Last modified: 2026 年 3 月 16 日

---

搜尋外掛

![](https://ps.w.org/comment-moderation-role/assets/banner-772x250.png?rev=2590584)

![](https://ps.w.org/comment-moderation-role/assets/icon-256x256.png?rev=2590584)

# Comment Moderation Role by WPBeginner

 由 [WPBeginner](https://profiles.wordpress.org/wpbeginner/) 開發

[下載](https://downloads.wordpress.org/plugin/comment-moderation-role.1.1.2.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/comment-moderation-role/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/comment-moderation-role/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/comment-moderation-role/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/comment-moderation-role/#developers)

 [技術支援](https://wordpress.org/support/plugin/comment-moderation-role/)

## 外掛說明

### 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](https://www.wpbeginner.com/)
team.

### What’s Next?

To learn more about WordPress, you can visit [WPBeginner](https://www.wpbeginner.com/)
for tutorials on topics like:

 * [WordPress Speed and Performance](http://www.wpbeginner.com/wordpress-performance-speed/)
 * [WordPress Security](http://www.wpbeginner.com/wordpress-security/)
 * [WordPress SEO](http://www.wpbeginner.com/wordpress-seo/)

…and many more [WordPress tutorials](http://www.wpbeginner.com/category/wp-tutorials/).

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

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

Visit [WPBeginner](http://www.wpbeginner.com/) to learn from our [WordPress Tutorials](http://www.wpbeginner.com/category/wp-tutorials/)
and find out about other [best WordPress plugins](http://www.wpbeginner.com/category/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](https://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/).)
 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`.

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

## 使用者評論

![](https://secure.gravatar.com/avatar/2d8861120a5e9117f964b256ce8539af85ece08559d68a5266188a17bd0dfac9?
s=60&d=retro&r=g)

### 󠀁[Works perfect!](https://wordpress.org/support/topic/works-perfect-1024/)󠁿

 [galatanuadrian27](https://profiles.wordpress.org/galatanuadrian27/) 2023 年 2 
月 9 日

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?

![](https://secure.gravatar.com/avatar/f184c91892a54cd0a36c0f3e8cc5a8f764ef9935d6967e9227ff621d5164863d?
s=60&d=retro&r=g)

### 󠀁[Bad link](https://wordpress.org/support/topic/bad-link-7/)󠁿

 [jaypabs](https://profiles.wordpress.org/jaypabs/) 2021 年 11 月 25 日

Not able to delete bad link in website field.

![](https://secure.gravatar.com/avatar/2c29756ee3787ebbccffce42c6e62ec4eb1f8d61606008bb9e0c99954b3a909a?
s=60&d=retro&r=g)

### 󠀁[Nice & Easy to use plugin](https://wordpress.org/support/topic/nice-easy-to-use-plugin-9/)󠁿

 [kaviyarasu](https://profiles.wordpress.org/kaviyarasu/) 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.

 [ 閱讀全部 3 則使用者評論 ](https://wordpress.org/support/plugin/comment-moderation-role/reviews/)

## 參與者及開發者

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

參與者

 *   [ WPBeginner ](https://profiles.wordpress.org/wpbeginner/)
 *   [ Syed Balkhi ](https://profiles.wordpress.org/smub/)
 *   [ Peter Wilson ](https://profiles.wordpress.org/peterwilsoncc/)

〈Comment Moderation Role by WPBeginner〉外掛目前已有 3 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/comment-moderation-role/contributors)
為這個外掛做出的貢獻。

[將〈Comment Moderation Role by WPBeginner〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/comment-moderation-role)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/comment-moderation-role/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/comment-moderation-role/)，或
透過 [RSS](https://plugins.trac.wordpress.org/log/comment-moderation-role/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/comment-moderation-role/)。

## 變更記錄

### 1.1.2

 * Updated: Tested up to WordPress 6.9.4

### 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.

## 中繼資料

 *  版本 **1.1.2**
 *  最後更新 **4 個月前**
 *  啟用安裝數 **200+**
 *  WordPress 版本需求 ** 5.1 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.9.4**
 *  PHP 版本需求 ** 5.6 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/comment-moderation-role/)、[Russian](https://ru.wordpress.org/plugins/comment-moderation-role/)、
   [Spanish (Chile)](https://cl.wordpress.org/plugins/comment-moderation-role/)、
   及 [Spanish (Spain)](https://es.wordpress.org/plugins/comment-moderation-role/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/comment-moderation-role)
 * 標籤:
 * [capabilities](https://tw.wordpress.org/plugins/tags/capabilities/)[comment moderation](https://tw.wordpress.org/plugins/tags/comment-moderation/)
   [comments](https://tw.wordpress.org/plugins/tags/comments/)[roles](https://tw.wordpress.org/plugins/tags/roles/)
 *  [進階檢視](https://tw.wordpress.org/plugins/comment-moderation-role/advanced/)

## 評分

 3.7 星，滿分為 5 星

 *  [  2 個 5 星使用者評論     ](https://wordpress.org/support/plugin/comment-moderation-role/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/comment-moderation-role/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/comment-moderation-role/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/comment-moderation-role/reviews/?filter=2)
 *  [  1 個 1 星使用者評論     ](https://wordpress.org/support/plugin/comment-moderation-role/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/comment-moderation-role/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/comment-moderation-role/reviews/)

## 參與者

 *   [ WPBeginner ](https://profiles.wordpress.org/wpbeginner/)
 *   [ Syed Balkhi ](https://profiles.wordpress.org/smub/)
 *   [ Peter Wilson ](https://profiles.wordpress.org/peterwilsoncc/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/comment-moderation-role/)