Always Allow Admin Comments

plugin banner

An admin user (when logged in) will always be able to comment on a post, even if the post's comments are closed.

Author:Scott Reilly (profile at wordpress.org)
WordPress version required:4.6
WordPress version tested:5.8.1
Plugin version:1.3.2
Added to WordPress repository:10-03-2016
Last updated:15-10-2021
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:https://coffee2code.com/wp-plugins/admin-can-...
Total downloads:2 129
Active installs:30+
plugin download
Click to start download

This plugin enables a user with the administrator role the ability to comment on any post or page, even if the comments for that post or page are closed. When the plugin is active, this behavior is automatically enabled.

Administrators can be explicitly prevented from commenting on specific posts via two approaches:

  • When creating or editing a post, in the “Prevent Admin Comments” metabox (in the block editor) or the “Discussion” metabox (in the classic editor) there is a checkbox labeled “Prevent administrators from commenting” that only administrators can access. Checking the checkbox will prevent administrators from commenting on the post even though this plugin is active. (If the metabox isn’t visible for you when using the classic editor, then expand the “Screen Options” slide-down panel on the upper-right of the page.)
  • Programmatically, via the use of the ‘c2c_admin_can_always_comment_disable’ filter. This can be used be provide more fine-grained access control and contextual handling. See the “Hooks” section for documentation on the filter’s use.

Links: Plugin Homepage | Plugin Directory Page | GitHub | Author Homepage

Developer Documentation

Developer documentation can be found in DEVELOPER-DOCS.md. That documentation covers the hooks provided by the plugin.

As an overview, these are the hooks provided by the plugin:

  • c2c_always_allow_admin_comments_disable : Customizes if comments should actually be disabled for a particular admin user.
  • c2c_always_allow_admin_comments_post_types: Customizes which post types are supported by the plugin.

Screenshots
FAQ
ChangeLog