Programmatically Turn Off Comments in Wordpress with Filter  
  
    To turn comments off programmatically with a filter in Wordpress, you can set the post object's comment_status variable to "closed". Call the filter at some point after the post is loaded but before the comments are rendered. This is a hack, but I haven't...  
  
    
      Written by Sean Behan on 06/17/2012