wordpress snippets last updated   : October 6, 2014
we now have 641 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 →

Did you like this post? If so please share it with your friends. Thanks!

jqsnipp.com | we just launched jquery snippets website