Remove post columns

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

 

 

function remove_post_columns($defaults) {
unset($defaults['comments']);
return $defaults;
}
add_filter('manage_posts_columns', 'remove_post_columns');

Be Sociable, Share!

Leave a comment