Function to Change Remove ‘comments’ Column from Manage Pages

* code #18 - remove 'comments' column from pages admin table
* source -
* @param array
* @return array
function remove_comments_column($defaults) {
return $defaults;
add_filter('manage_pages_columns', 'remove_comments_column');

When looking at the Pages table in the administrator panel you will notice there is a small column for the comments count. This is obviously helpful when going through posts, however pages are not formatted the same way and do not usually allow comments. Simply copy/paste this code snippet into your document and you’ll notice a much cleaner table when editing page content.