Remove the comments count column from pages

Adding this snippet to the functions.php of your wordpress theme will remove the comments count column from pages admin page.

 

 

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

Be Sociable, Share!

Leave a comment