Posted By

derdesign on 04/27/11


Tagged

wordpress


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Terion


Disable comments globally in WordPress


 / Published in: PHP
 

  1. /* Add this code on your functions.php (or other) file */
  2.  
  3. function __disable_feature($data) { return false; }
  4.  
  5. add_filter('comments_number', '__disable_feature');
  6.  
  7. add_filter('comments_open', '__disable_feature');

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: killjim01 on October 18, 2014

red bottom heels oakley sunglasses wholesale chi flat iron,chi hair strighteners toms wedges michael kors sale marc jacobs,marc jacobs handbags,marc jacobs bags,marc jacobs outlet moncler jackets christian louboutin,christian louboutin shoes,christian louboutin outlet fitflop coach outlet stores ugg shoes,uggs for cheap,uggs outlet,uggs for kids,ugg boots sale,uggs sale,uggs on sale,ugg gloves,ugg bailey button,ugg boots cheap,ugg moccasins,uggs canada,uggs for women,fake uggs,ugg boots,ugg uk,ugg boots on sale coach factory outlet coach cyber monday 2014,coach cyber monday,cyber monday 2014,cyber monday deals,cyber monday sales,cyber monday,louis vuitton cyber monday 2014,louis vuitton cyber monday,michael kors cyber monday 2014,michael kors cyber monday

You need to login to post a comment.