Trendsilk

News | Trends | Entertainment

Recent Posts

Wednesday, 18 July 2018

Strip/Remove HTML from WordPress Comments

If you are dealing with many spam comments, this tutorial will help you to discourage users who are trying to add their website links in their comments. Disable HTML for New Comments This is a tiny code to prevent your WordPress website users from adding HTML tags in their comments. After adding this snippet into the functions.php file in your WordPress theme, all HTML tags will be stripped out

No comments:

Post a Comment