How to Remove comment-reply.min.js in WordPress

Last Updated on 18 August 2020

If you are using Disqus or some other similar services and you would like to remove comment-reply.min.js in your WordPress site. Then, you will need to remove the comment-reply.min.js.

Remove comment-reply.min.js

To remove comment-reply.min.js, add these PHP code to your website. There are a few ways to add it.

  1. Child Theme (function.php)
  2. Code Snippet Plugin
// Remove comment-reply.min.js
function remove_comment_reply() {
    wp_deregister_script('comment-reply');
}
add_action('init', 'remove_comment_reply');

Leave a Comment