Remove all comment in WordPress
If you want to remove all comment fields in wordpress go into your theme directory and and open functions.php add this code (I'd suggest at the bottom of the file)
function filter_media_comment_status( $open, $post_id ) {
$post = get_post( $post_id );
if( $post->post_type == 'attachment' ) {
return false;
}
return $open;
}
add_filter( 'comments_open', 'filter_media_comment_status', 10 , 2 );