Really Simple Disable Comments is a lightweight plugin that completely disables WordPress comments functionality with a single activation. No configuration needed!
The plugin includes various filters and actions for developers to customize its behavior:
rsdc_post_type – Filter the post type before removing comment supportrsdc_comments_status – Filter the comments statusrsdc_hide_existing_comments – Filter the hidden comments arrayrsdc_hide_ui_styles – Filter the CSS used to hide comment UI elementsrsdc_block_editor_settings – Filter the block editor settingsrsdc_allowed_blocks – Filter the allowed Gutenberg blocksrsdc_block_comment_submission – Control whether direct comment submission is blocked (return false to allow)rsdc_rest_endpoints – Filter the REST endpoints array during REST bootstrap (comment endpoints are only unset when rsdc_allow_editorial_notes returns false)rsdc_xmlrpc_methods – Filter the XML-RPC methods array after pingback methods are removedrsdc_rest_post_response – Filter the normalized WP_REST_Response for post objectsrsdc_allow_editorial_notes – Return false to unregister the comment REST routes entirely, as in 0.4.0 (also disables WordPress 7.1 editorial Notes)rsdc_disable_comment_feeds – Return false to leave comment feeds and their autodiscovery links alonersdc_disable_comment_block_output – Return false to let comment-related blocks render their markup againrsdc_comment_block_types – Filter the list of comment-related block types the plugin hides and suppresses (register it on plugins_loaded so it applies before the first lookup)