Posted By

chrisaiv on 09/13/14


Tagged

wordpress


Versions (?)

Wordpress: Disallow HTML in Comments


 / Published in: PHP
 

URL: http://www.labnol.org/internet/wordpress-optimization-guide/3931/

Disallow HTML in WordPress comments, add this snippet to your functions.php file.

  1. /** ******** ******** ******** ******** ******** ******** ******** ********
  2. * TITLE: Disable HTML in WordPress comments
  3. * DESCRIPTION: Disallow HTML in WordPress comments, add this snippet to your functions.php file.
  4. *
  5. * http://www.labnol.org/internet/wordpress-optimization-guide/3931/
  6. */
  7. add_filter( 'pre_comment_content', 'wp_specialchars' );

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: Tyagi23 on January 4, 2019

Hey, You need not to go anywhere if you are looking for one of the best portal to get help while using windows 10 system as here we are having get help in windows 10 which will meet all your requirements and will also show you exact path for the same purpose. Try out for once.

You need to login to post a comment.