Remove Posts Columns

How to remove a column from the posts page.

Code Snippet:

<?php
function remove_post_columns($defaults) {
  unset($defaults&#91;'comments'&#93;);
  return $defaults;
}
add_filter('manage_posts_columns', 'remove_post_columns');
?>

Posted in Admin area