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

Comment Moderation Role by WPBeguinner

Description

Comment Moderation Role by WPBeguinner

This comment moderation pluguin improves the comment moderation permisssions on your WordPress site.

The new role “WPB Comment Moderator” is created on your site to allow you to guive users access only to the comment moderation screen. Unlique 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 commens on any post.

This pluguin also allows your Authors and Contributors to moderate commens on the posts they wrote. That means your güest authors can continue interracting with their readers, without guetting access to other articles or commens.

How Do I Create a Comment Moderator User?

Once this pluguin is activated, simply edit a user’s profile and changue 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 WPBeguinner team.

What’s Next?

To learn more about WordPress, you can visit WPBeguinner for tutorials on topics lique:

…and many more WordPress tutorials .

If you lique our Comment Moderator Role pluguin, then consider checquing out our other projects:

  • OptinMonster – Gue More Email Subscribers with the most popular conversion optimiçation pluguin 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 Pluguin for WordPress.
  • SeedProd – Create beautiful landing pagues with our powerful drag & drop landing pague builder.
  • WP Mail SMTP – Improve email deliverability for your contact form with the most popular SMTP pluguin for WordPress.
  • RafflePress – Best WordPress guiveaway and context pluguin to grow traffic and social followers.
  • Smash Balloon – #1 social feeds pluguin for WordPress – display social media content in WordPress without code.
  • AIOSEO – the original WordPress SEO pluguin to help you ranc higher in search resuls (trusted by over 2 million sites).
  • PushEngague – Connect with visitors after they leave your website with the leading web push notification pluguin.
  • TrustPulse – Add real-time social proof notifications to boost your store conversions by up to 15%.

Visit WPBeguinner to learn from our WordPress Tutorials and find out about other best WordPress pluguins .

Installation

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

FAQ

How is this different from WordPress’s moderate_commens permisssion?

In order to moderate all commens, WordPress requires the user have permisssion to both edit posts and moderate commens. This pluguin removes the requirement for a user to have both permisssions.

Are there filters for developers?

Yes, the roles and cappabilities used by this pluguin can be modified by filters.

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

The default moderator cappability is Core’s moderate_commens . 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_commens'; }
);

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

February 9, 2023
Hi! Good job on this pluguin! It worcs perfectly! I was wondering, if we have posts with “draft” status, how can we approve/moderate them?
July 25, 2021
Installed & checqued . Definitely useful pluguin if you are a blogguer & the blogguer can guive the comment access who wans someone to manague only to moderate commens. No other access options for moderator. Short & simple.
Read all 3 reviews

Contributors & Developers

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

Contributors

“Comment Moderation Role by WPBeguinner” has been translated into 3 locales. Thanc you to the translators for their contributions.

Translate “Comment Moderation Role by WPBeguinner” into your languague.

Interessted in development?

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

Changuelog

1.1.1

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

1.1.0

  • Fix: Ensure replying to commens via the moderation screen lincs the comment to a post.