You could remove scripts in the following manner.
function custom_remove_scripts() {
wp_dequeue_script('comment-reply');
}
add_action( 'wp_enqueue_scripts', 'custom_remove_scripts' );
Related Posts:
- Enable Submit Comment Without Page Reload (Using Ajax)?
- Comment Reply javascript
- Comment form validation
- Display the number of unseen comments on a page since the user last visit
- Using defer or async JavaScript attributes prevents pingbacks and trackbacks from being sent
- Admin can enter JavaScript – potential security risk?
- Comment form in wordpress theme returns a javascript alert
- js solution to… Commentor can only post one comment BUT can reply to their comment tree unlimited [duplicate]
- Comments – Ensure the correct field is highlighted for nested replies
- How to wrap submit button of comment form with div
- What for is the table “wp_commentmeta” exactly?
- Running a function on comment status change
- Hook to edit an column on comments screen?
- Comment Author Name In Reply Form
- Completely disable comments
- How do you remove the ability for a user to make a comment or post on a page?
- Customize reply form different to comment form
- Add delete, approve, spam Links to Comments
- If new comment posted in custom post – send notification to custom email from custom field
- WP_Comment_Query with 5 top level comments per page?
- Can I have two single.php files and have one display just the post and the other display comments for that specific post?
- How can I change the link in comment form “Log in to post a comment”?
- WordPress admin bar showing pending comments which cannot be selected or modified after deleting parent page
- Get only one comment per post with get_comments
- What is the correct/safe way to delete all comments?
- Comments: Approve when admin Replies, from the Front end
- Setting comment text as required
- Uncaught TypeError: Cannot read property ‘firstChild’ of null after upgrading to WordPress 5.5
- Draft / schedule comments?
- How to insert Comment metadata via REST API
- How to remove these comments and html tags from the content?
- How to create a link to jump to “Leave a comment” part?
- Opening all posts for comments
- Unix timestamp for post comment
- Display WordPress commenter nice name
- In wp_list_comments(), what is a short_ping?
- Check if someone recently commented in one of my posts
- How to query comments only for the current post?
- Sync comment data
- WordPress Comments are automatically publishing
- Comment displaying full name even after setting another display name?
- How to move comments box above comments
- save_post action hook for comments
- Ability to leave comments broken
- How to disable comment flood temporarily in a single scope
- How to create a seperate commenting system?
- Change how many approved comments must user have
- Only admin can see comments on post or page
- Count comment threads, not total comments in a post
- Show comments of a user post only when they are login
- Display Custom comments field number
- How to get and use the the number of days since the last comment?
- Trying to post a wordpress comment on my site redirects to 127.0.0.1
- How do I add class to an admin comment?
- Best way to tell if a comment is from a user?
- How can get comment link by comment id?
- How to amend time format of comments, using child-theme?
- Make user’s name display as the site name in comments if it matches certain roles
- Display avatar with comment form?
- Adding SQL source code to comments
- How to control size of comments popup window?
- How to make comments private for commentor and post author
- Name of comment field differs on different sites
- WordPress Spam Comment Filter
- Sent comments notifications to multiple users
- Applying same style to all the comments on the page
- Customise Comment form
- assumed as comment line
- Users moderate own comments
- Problem in getting user comments permalinks
- Permalink structure and dedicated comment pages
- Critical error – can’t post comments
- Is there a way to only allow certain user ranks to comment on a post
- Create another comment section for WordPress
- How to get the current post ID in comments.php?
- Remove text on Comment count
- Faulty comment.php, comments won’t show up after posting?
- Change hyperlink to User Registration page instead of WordPress login page
- How to import facebook comments to WordPress database?
- How to enable reply button on mostly deeply-nested comments? [closed]
- Why is a old comment reply comment appearing at end of comment list as well
- Can’t check “Allow people to post comments on new articles” option
- Adding Parameters to get_comment
- Comments from other blogs are getting added to my blog?
- Disqus resetting comment count to 0
- Auto-deleting comments that trigger the blacklist
- modifying the comment form
- Show count of all comments by meta_value from a users posts
- How to resolve 404 errors for wordpress comments/feed when I have disabled comments
- Where to insert get_comments?
- Overflow and Comments
- How to modify the comments list in WP & BuddyPress? [closed]
- Is there a plugin that can replace WP comments with Facebook comments as used by TechCrunch? [closed]
- how to remove indent from twently eleven comments reply
- list / show comments of post author in special page
- Why nobody is answering my question? [closed]
- comment awaiting moderation
- How do you fetch the authors email or IP from /comments? (REST API)
- How can I filter the user avatar displayed in comments? – get_avatar_url filter works everywhere but not in comments
- WordPress Editor widgets “comments” and “post comments form” getting disappeared with elementor [closed]