The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
How to disable HTML...
 
Share:
Notifications
Clear all

[Solved] How to disable HTML code in comments

2 Posts
2 Users
0 Reactions
1,399 Views
Posts: 13
Topic starter
(@aleksmag74)
Active Member
Joined: 3 years ago

Hello!

I would be very glad if you could suggest a solution.

I'd like to close all the links in the comments.
I removed the ability to format a comment.
But even in this case, if I manually write HTML code for the link, the link gets into the comment.

How to disable HTML code in comments?

1 Reply
Asti
Posts: 7617
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 years ago

Hi,

You can use the core WordPress preprocess_comment hook for this customization. 

Share: