wordpress snippets last updated   : April 22, 2014
we now have 631 snippets

Remove post columns

wordpress snippet

Adding this PHP code to the functions.php of your wordpress theme will allow you to remove columns from the posts page.

snippet :  PHPcopy
function remove_post_columns($defaults) {
  unset($defaults['comments']);
  return $defaults;
}
add_filter('manage_posts_columns', 'remove_post_columns');
source →
jqsnipp.com | we just launched jquery snippets website